![]()
$(LIBOUT):$(WRAPPER_OBJECT) $(LIBCONTROLLER) $(LIBCPPCONTROLLER) $(SWIG) $(SWIG_OPTS) $(WEBOTS_INCLUDES) -o $(WRAPPER) $< $(PYOUT) $(WRAPPER):$(INTERFACE) $(LIBCONTROLLER) $(LIBCPPCONTROLLER) Release debug -e "# \033[0 33mSWIG not installed, skipping Python API\033[0m" Release debug -e "# \033[0 33m$(PYTHON_COMMAND) not installed, skipping Python API\033[0m" Ifeq (, $(shell which $(PYTHON_COMMAND) 2> /dev/null)) SWIG_EXISTS = $(shell which $(SWIG) 2> /dev/null) LIBCPPCONTROLLER= $(WEBOTS_HOME_PATH)/lib/libCppController.so LIBCONTROLLER = $(WEBOTS_HOME_PATH)/lib/libController.so PYTHON_INCLUDES = -I"/usr/include/python$(PYTHON_VERSION)" LIBS = -L"$(WEBOTS_HOME_PATH)/lib" -lController -lCppController LIBCPPCONTROLLER= $(WEBOTS_HOME_PATH)/lib/libCppController.dylibĬ_FLAGS = -c -Wall -fPIC -Wno-unused-but-set-variable LIBCONTROLLER = $(WEBOTS_HOME_PATH)/lib/libController.dylib PYTHON_INCLUDES = -I"$(PYTHON_PATH)/include/python$(PYTHON_VERSION)$(PYTHON_PYMALLOC)" LIBOUT = $(addprefix $(WEBOTS_HOME_PATH)/lib/python$(PYTHON_SHORT_VERSION)/_,$(INTERFACE.i=.so)) LIBS = -L"$(PYTHON_PATH)/lib" -L"$(WEBOTS_HOME_PATH)/lib" -lController -lCppController -lpython$(PYTHON_VERSION) LD_FLAGS = -dynamiclib -install_name -compatibility_version 1.0 -current_version 1.0.0 -mmacosx-version-min=$(MACOSX_MIN_SDK_VERSION) Ifeq ($(findstring llvm-g ,$(shell ls -lF $(shell which c 2> /dev/null))),) PYTHON_PATH ?= /Library/Frameworks/amework/Versions/$(PYTHON_VERSION)Ĭ_FLAGS = -c -Wall -fPIC -mmacosx-version-min=$(MACOSX_MIN_SDK_VERSION) PYTHON_PATH ?= /System/Library/Frameworks/amework/Versions/$(PYTHON_VERSION) LIBCPPCONTROLLER= $(WEBOTS_HOME_PATH)/msys64/mingw64/bin/CppController.dll LIBCONTROLLER = $(WEBOTS_HOME_PATH)/msys64/mingw64/bin/Controller.dll PYTHON_INCLUDES = -I"$(PYTHON_HOME)include" Ifneq (,$(findstring 3.,$(PYTHON_VERSION))) LIBOUT = $(addprefix $(WEBOTS_HOME_PATH)/lib/python$(PYTHON_SHORT_VERSION)/_,$(INTERFACE.i=.pyd)) LIBS = -L"$(PYTHON_HOME)libs" -lpython$(PYTHON_SHORT_VERSION) -L"$(WEBOTS_HOME_PATH)/msys64/mingw64/bin" -lController -lCppController LD_FLAGS = -shared -Wl,-enable-auto-import PYTHON_HOME := $(subst \ ,$(SPACE),$(dir $(subst $(SPACE),\ ,$(shell which python 2> /dev/null))))Ĭ_FLAGS = -c -O -Wall -DMS_WIN64 -D_hypot=hypot -Wno-stringop-truncation PYTHON_PATH_SETUP := $(shell mkdir -p $(WEBOTS_HOME_PATH)/lib/python$(PYTHON_SHORT_VERSION)) PYOUT = $(addprefix $(WEBOTS_HOME_PATH)/lib/python$(PYTHON_SHORT_VERSION)/,$(INTERFACE.i=.py)) WRAPPER = $(INTERFACE.i=$(PYTHON_SHORT_VERSION).cpp) WEBOTS_INCLUDES = -I"$(WEBOTS_HOME_PATH)/include/controller/cpp" -I"$(WEBOTS_HOME_PATH)/include/controller/c" SWIG_OPTS = -c -python -outdir "$(WEBOTS_HOME_PATH)/lib/python$(PYTHON_SHORT_VERSION)/" Include $(WEBOTS_HOME_PATH)/resources/Makefile.os.include ![]() Webots error failed to retrieve file times license## See the License for the specific language governing permissions and # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # distributed under the License is distributed on an "AS IS" BASIS, Webots error failed to retrieve file times software## Unless required by applicable law or agreed to in writing, software # You may obtain a copy of the License at # you may not use this file except in compliance with the License. # Licensed under the Apache License, Version 2.0 (the "License") ![]() (I am not really good at regular expressions but I guess it is setting the path to the one I showed in the image above) # Copyright 1996-2018 Cyberbotics Ltd. ![]() The compilations complains that files are not found although they exist in that place. Webots error failed to retrieve file times windows#I followed steps and tried compiling using both MSYS2 and Windows PowerShell. Webots error failed to retrieve file times 64 Bit#I tried to recompile webots python API for Python 3.6 64 bit as I need that version for TensorFlow. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |