Skip to content
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

The error on python package installation of gpmp2 #62

Open
WangHonghui123 opened this issue Dec 20, 2022 · 1 comment
Open

The error on python package installation of gpmp2 #62

WangHonghui123 opened this issue Dec 20, 2022 · 1 comment

Comments

@WangHonghui123
Copy link

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.

@Geryyy
Copy link

Geryyy commented Jul 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants