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

catkin build error: aslam optimizer/sparse_block_matrix #102

Open
rohun-kulkarni opened this issue Apr 8, 2021 · 2 comments
Open

catkin build error: aslam optimizer/sparse_block_matrix #102

rohun-kulkarni opened this issue Apr 8, 2021 · 2 comments

Comments

@rohun-kulkarni
Copy link

Hello,

I've been unable to install on an Ubuntu 16.04 / ROS Kinetic. I think the issue is with the suiteparse and aslam optimizer dependency.

Running
catkin build hand_eye_calibration hand_eye_calibration_target_extractor hand_eye_calibration_batch_estimation
results in the following error:
cholmod.h: No such file or directory

When I searched for the error, this PR came up which appears to fix the issue. Would appreciate any assistance you can offer.

Thanks!

Error message:

Errors     << sparse_block_matrix:make /home/robot/catkin_ws/logs/sparse_block_matrix/build.make.001.log
In file included from /home/robot/catkin_ws/src/aslam_optimizer/sparse_block_matrix/src/sparse_helper.cpp:1:0:
/home/robot/catkin_ws/src/aslam_optimizer/sparse_block_matrix/include/sparse_block_matrix/sparse_helper.h:27:21: fatal error: cholmod.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/sparse_block_matrix.dir/src/sparse_helper.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/robot/catkin_ws/src/aslam_optimizer/sparse_block_matrix/include/sparse_block_matrix/sparse_block_matrix.h:30:0,
                 from /home/robot/catkin_ws/src/aslam_optimizer/sparse_block_matrix/include/sparse_block_matrix/marginal_covariance_cholesky.h:21,
                 from /home/robot/catkin_ws/src/aslam_optimizer/sparse_block_matrix/src/marginal_covariance_cholesky.cpp:17:
/home/robot/catkin_ws/src/aslam_optimizer/sparse_block_matrix/include/sparse_block_matrix/sparse_helper.h:27:21: fatal error: cholmod.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/sparse_block_matrix.dir/src/marginal_covariance_cholesky.cpp.o] Error 1
make[1]: *** [CMakeFiles/sparse_block_matrix.dir/all] Error 2
make: *** [all] Error 2
@specarmi
Copy link

Were you able to get past this issue? I'm having the same problem

@fishmarch
Copy link

I managed to compile it by adding the following into sparse_block_matrix/package.xml. Hope it works for you.

<build_depend>suitesparse</build_depend>
<run_depend>suitesparse</run_depend>

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

3 participants