-
Notifications
You must be signed in to change notification settings - Fork 161
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
compile kimera-vio-ros:Error: GTSAM was built against a different version of Eigen #43
Comments
I used Additional CMake Args: -DCMAKE_BUILD_TYPE=Release -DGTSAM_USE_SYSTEM_EIGEN=ON. my Eigen version is 3.3.7 |
maybe i have found the problem,Kimera-vio-ros uses the pcl that comes with ros. The eigen used by ros to compile and install pcl is different from the eigen version of the system used by gtsam.One method is to use ubuntu18.04, but Upgrading the system is more troublesome. When I used it, I directly commented out all the code about pcl in RosDataProvider.cpp and RosDataProviderInterface.h、package.xml, and recompiled successfully.The disadvantage is that it cannot publish point cloud data and mesh3D data. |
@ACFFF thanks for finding the cause of this outstanding issue! There should be a way to install GTSAM using Ros eigen though which would be nicer than commenting out pcl in the ROS wrapper. |
Hmm, I am also seeing this error when just compiling kimera-vio... I will need to investigate this further. |
The solution I ended up using is:
|
…ture/camerainfo_support/base * 'master' of github.mit.edu:SPARK/Kimera-VIO-ROS: (53 commits) Remove unnecessary ros::start() Remove unneeded shutdown Log warn restart request Improve shutdown: add shutdown flags, centralize shutdown Use max iterations instead of time for gt pose Remove check on mesher_output, use conditional Improve shutdown by stopping queues Refactor pipeline into KimeraVioRos file Update readme Remove static as well for imu_shift Fix issue #98: remove static for a reference Better verbosity Make the rosservice a trigger type Add hard VIO restart using rosservice Add shutdown functionality, launch async spinners later Update launch file name Run automatic initialization if no ground-truth found Comment out feature tracks viz, WIP Fix using new params inside Kimera-VIO Use eigen_catkin to fix #43 ...
Description:
Error: GTSAM was built against a different version of Eigen
Command:
Console output:
Additional files:
Please attach all the files needed to reproduce the error.
Please give also the following information:
opencv_version
The text was updated successfully, but these errors were encountered: