-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No file generated after running 'make update_bindings' #1082
Comments
Also here's the CMakeCache.txt: This is the CMakeCache file.For build in directory: /home/dell/WCH-Laowang/IMPC/IMPC-OB/ompl/build/ReleaseIt was generated by CMake: /usr/local/anaconda3/envs/LWang_2/lib/python3.8/site-packages/cmake/data/bin/cmakeYou can edit this file to change values found and used by cmake.If you do not want to change any of the values, simply exit the editor.If you do want to change a value, simply edit, save, and exit the editor.The syntax for the file is as follows:KEY:TYPE=VALUEKEY is the name of a variable in the cache.TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.VALUE is the current value for the KEY.######################## EXTERNAL cache entries######################## //No help, variable specified on the command line. //The directory containing a CMake configuration file for Boost. //Boost filesystem library (debug) //Boost filesystem library (release) //Path to a file. //Boost library directory DEBUG //Boost library directory RELEASE //Boost numpy38 library (debug) //Boost numpy38 library (release) //Boost numpy3 library (debug) //Boost numpy3 library (release) //Boost program_options library (debug) //Boost program_options library (release) //Boost python-py38 library (debug) //Boost python-py38 library (release) //Boost python38 library (debug) //Boost python38 library (release) //Boost python3 library (debug) //Boost python3 library (release) //Boost serialization library (debug) //Boost serialization library (release) //Boost system library (debug) //Boost system library (release) //Boost unit_test_framework library (debug) //Boost unit_test_framework library (release) //Path to a program. //Path to a program. //Path to a program. //Choose the type of build, options are: None Debug Release RelWithDebInfo //Enable/Disable color output during build. //CXX compiler //A wrapper around 'ar' adding the appropriate '--plugin' option //A wrapper around 'ranlib' adding the appropriate '--plugin' option //Flags used by the CXX compiler during all build types. //Flags used by the CXX compiler during DEBUG builds. //Flags used by the CXX compiler during MINSIZEREL builds. //Flags used by the CXX compiler during RELEASE builds. //Flags used by the CXX compiler during RELWITHDEBINFO builds. //Path to a program. //Flags used by the linker during all build types. //Flags used by the linker during DEBUG builds. //Flags used by the linker during MINSIZEREL builds. //Flags used by the linker during RELEASE builds. //Flags used by the linker during RELWITHDEBINFO builds. //Enable/Disable output of compile commands during generation. //Value Computed by CMake. //User executables (bin) //Read-only architecture-independent data (DATAROOTDIR) //Read-only architecture-independent data root (share) //Documentation root (DATAROOTDIR/doc/PROJECT_NAME) //C header files (include) //Info documentation (DATAROOTDIR/info) //Object code libraries (lib) //Program executables (libexec) //Locale-dependent data (DATAROOTDIR/locale) //Modifiable single-machine data (var) //Man documentation (DATAROOTDIR/man) //C header files for non-gcc (/usr/include) //Install path prefix, prepended onto install directories. //Run-time variable data (LOCALSTATEDIR/run) //System admin executables (sbin) //Modifiable architecture-independent data (com) //Read-only single-machine data (etc) //Path to a program. //Path to a program. //Flags used by the linker during the creation of modules during //Flags used by the linker during the creation of modules during //Flags used by the linker during the creation of modules during //Flags used by the linker during the creation of modules during //Flags used by the linker during the creation of modules during //Path to a program. //Path to a program. //Path to a program. //Value Computed by CMake //Value Computed by CMake //Value Computed by CMake //Value Computed by CMake //Value Computed by CMake //Value Computed by CMake //Value Computed by CMake //Value Computed by CMake //Path to a program. //Path to a program. //Flags used by the linker during the creation of shared libraries //Flags used by the linker during the creation of shared libraries //Flags used by the linker during the creation of shared libraries //Flags used by the linker during the creation of shared libraries //Flags used by the linker during the creation of shared libraries //If set, runtime paths are not added when installing shared libraries, //If set, runtime paths are not added when using shared libraries. //Flags used by the linker during the creation of static libraries //Flags used by the linker during the creation of static libraries //Flags used by the linker during the creation of static libraries //Flags used by the linker during the creation of static libraries //Flags used by the linker during the creation of static libraries //Path to a program. //Path to a program. //If this value is on, makefiles will be generated without the //Path to a program. //Path to a file. //Dot tool for use with Doxygen //Doxygen documentation generation tool (https://www.doxygen.nl) //The directory containing a CMake configuration file for Eigen3. //Build OMPL demos //Build OMPL Python bindings //Build/run OMPL Python tests //Build OMPL tests //Path to directory with auxiliary CMake scripts for OMPL //Relative path to directory where demos will be installed //Path to directory where OMPL python modules will be installed //Path to a file. //Enable one-time registration of OMPL //Don't set RPATH to the OMPL library //Install header files in include/ompl-X.Y/ompl, where X and Y //Arguments to supply to pkg-config //pkg-config executable //Path to a program. //Python path for pyplusplus and pygccxml //Path to Python interpreter //Python include directories //Python libraries //Location of Python module numpy //Whether the OMPL Python modules can be built //Whether the C++ code for the OMPL Python module can be generated //Location of Python module pygccxml //Version of Python module pygccxml //Location of Python module pyplusplus //Version of Python module pyplusplus //Path to a program. //Location of Triangle header file directory //Location of Triangle library //Value Computed by CMake //Value Computed by CMake //Dependencies for the target //Value Computed by CMake //Path to a library. //Path to a library. //Path to a library. ######################## INTERNAL cache entries######################## //ADVANCED property for variable: BOOST_ROOT |
1、Following are my system setups:
OS: Ubuntu 18.04 bionic
Python version: 3.8
Conda Environment: YES
2、Issue description:
I first used 'cmake -DCMAKE_INSTALL_PREFIX="$CONDA_PREFIX" -DBOOST_ROOT="$CONDA_PREFIX" ../..' to build the CMakelist file. Then I used 'make update_bindings' command to build python bindings.
However, a weird thing happened. In the ubuntu terminal I only received a feedback 'Built target update_bindings' and there is no corresponding 'XXX.so' file such as '_util.so' in the directory 'py-bindings/ompl'. So I guess there must be something wrong with the binding generation, but I couldn't locate the exact issue.
3、The output after running 'Cmake ../.. '
(LWang_2) dell@dell-Precision-5820-Tower-X-Series:~/WCH-Laowang/IMPC/IMPC-OB/ompl/build/Release$ cmake -DCMAKE_INSTALL_PREFIX="$CONDA_PREFIX" -DBOOST_ROOT="$CONDA_PREFIX" ../..
-- PYTHON PATH : /usr/local/anaconda3/envs/LWang_2/bin/python3
-- Build type: Release
-- Checking for module 'libspot'
-- No package 'libspot' found
-- Could NOT find spot (missing: SPOT_LIBRARIES SPOT_INCLUDE_DIRS)
-- The following features have been enabled:
/include/ompl-X.Y/ompl, where X and Y are the major and minor
version numbers
-- The following OPTIONAL packages have been found:
Pthreads is sometimes needed, depending on OS / compiler.
Used to speed up the generation of python bindings.
If detetected, FLANN can be used for nearest neighbor queries by OMPL.
Used to create the OMPL documentation (i.e., https://ompl.kavrakilab.org).
Used for python bindings.
Used to generate Python bindings.
Used to find (compilation flags for) dependencies.
Used for parsing input data for the PlanarManipulator demo.
-- The following REQUIRED packages have been found:
A linear algebra library used throughout OMPL.
Used throughout OMPL for data serialization, graphs, etc.
_-- The following features have been disabled:
-- The following OPTIONAL packages have not been found:
Used to create triangular decompositions of polygonal 2D environments.
Used for constructing finite automata from LTL formulae.
-- The following Python modules were found:
-- Configuring done (0.6s)
-- Generating done (0.1s)
-- Build files have been written to: /home/dell/WCH-Laowang/IMPC/IMPC-OB/ompl/build/Release
I found out that the feature 'OMPL_BUILD_PYBINDINGS' had been disabled, which never happened in all other possible issues I've read in the issue section. I guess this must be the reason, but I just don't know how it ends up like this. Could this be related to my python package setup?
Been struggling with this issue for some days. Any help would be appreciated! Thanks!
The text was updated successfully, but these errors were encountered: