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

CMake Error:_SOLVER_CHOLMOD_LIB notfound #114

Open
KenshinXJ opened this issue May 10, 2019 · 1 comment
Open

CMake Error:_SOLVER_CHOLMOD_LIB notfound #114

KenshinXJ opened this issue May 10, 2019 · 1 comment

Comments

@KenshinXJ
Copy link

Hello
When I use the catkin_make to make the source codes, some errors occur and I don't how to fix it, I think the g2o hasn't been set correctly.
any idea to solve this problem?

------------log-------------

`CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
G2O_SOLVER_CHOLMOD_LIB
linked by target "rgbdslam" in directory /home/kenshin/catkin_ws/src/rgbdslam_v2
linked by target "rgbdslam" in directory /home/kenshin/catkin_ws/src/rgbdslam_v2

-- Configuring incomplete, errors occurred!
See also "/home/kenshin/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/kenshin/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
`

My environment:
ubuntu 16.04
Ros-kinetic

@imontesino
Copy link

Rebuild g2o following the steps described in install.sh, especially the lines:

cmake .. -DCMAKE_INSTALL_PREFIX=$G2O_REPO_DIR/install -DG2O_BUILD_EXAMPLES=OFF
nice make -j2 install

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