Hi, I am currently installing python package installation of gpmp2 after I have installed GTSAM and its python wrapper.
When I use command "cmake -DGPMP2_BUILD_PYTHON_TOOLBOX:=ON .." The error happens, shown as follows:
-- GTSAM include directory: /usr/local/lib/cmake/GTSAM/../../../include
-- Building Module: geometry
-- Building Module: gp
-- Building Module: kinematics
-- Building Module: dynamics
-- Building Module: obstacle
-- Building Module: planner
-- Building Module: utils
-- GPMP2 Version: 0.3.0
-- Install prefix: /usr/local
-- Build shared library
CMake Warning at python/CMakeLists.txt:1 (find_package):
By not providing "Findgtwrap.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "gtwrap", but
CMake did not find one.
Could not find a package configuration file provided by "gtwrap" with any
of the following names:
gtwrapConfig.cmake
gtwrap-config.cmake
Add the installation prefix of "gtwrap" to CMAKE_PREFIX_PATH or set
"gtwrap_DIR" to a directory containing one of the above files. If "gtwrap"
provides a separate development package or SDK, be sure it has been
installed.
CMake Error at python/CMakeLists.txt:7 (gtwrap_get_python_version):
Unknown CMake command "gtwrap_get_python_version".
-- Configuring incomplete, errors occurred!
See also "/home/test/PycharmProjects/pythonProject/gpmp2/build/CMakeFiles/CMakeOutput.log".
See also "/home/test/PycharmProjects/pythonProject/gpmp2/build/CMakeFiles/CMakeError.log".
I installed gtsam from source with python bindings enabled and TBB disabled (otherwise segmentation faults due to threading).
Afterwards I installed gpmp with python bindings enabled. Worked well for me.
Hi, I am currently installing python package installation of gpmp2 after I have installed GTSAM and its python wrapper.
When I use command "cmake -DGPMP2_BUILD_PYTHON_TOOLBOX:=ON .." The error happens, shown as follows:
-- GTSAM include directory: /usr/local/lib/cmake/GTSAM/../../../include -- Building Module: geometry -- Building Module: gp -- Building Module: kinematics -- Building Module: dynamics -- Building Module: obstacle -- Building Module: planner -- Building Module: utils -- GPMP2 Version: 0.3.0 -- Install prefix: /usr/local -- Build shared library CMake Warning at python/CMakeLists.txt:1 (find_package): By not providing "Findgtwrap.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "gtwrap", but CMake did not find one.
Could not find a package configuration file provided by "gtwrap" with any of the following names:
gtwrapConfig.cmake gtwrap-config.cmake
Add the installation prefix of "gtwrap" to CMAKE_PREFIX_PATH or set "gtwrap_DIR" to a directory containing one of the above files. If "gtwrap" provides a separate development package or SDK, be sure it has been installed.
CMake Error at python/CMakeLists.txt:7 (gtwrap_get_python_version): Unknown CMake command "gtwrap_get_python_version".
-- Configuring incomplete, errors occurred! See also "/home/test/PycharmProjects/pythonProject/gpmp2/build/CMakeFiles/CMakeOutput.log". See also "/home/test/PycharmProjects/pythonProject/gpmp2/build/CMakeFiles/CMakeError.log".
I would like to know how to fix it. Thanks.