-
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
GTSAM was built against a different version of Eigen #12
Comments
I added message in the CMake to check whether the gtsam was getting built with the proper version and I was able to see the message output on the terminal window. |
Having the same issue when building kimera_ros. Any update on this? It seems that if I build gtsam with the bundled eigen version KimeraRPGO fails to build but I can build Kimera-VIO. If I build with the system version of eigen I can build the RPGO but not the VIO. the wrapper fails to build with either eigen version |
I built GTSAM separately from source. I stopped getting this issue. But I am not able to build KimeraVIO package. My laptop crashes everytime I try to build the package. I am still not sure why this is happening. |
Interesting. I am able to build KimeraVIO if I force GTSAM to use the bundled version of eigen. But KimeraRPGO will not build if the bundled eigen version is used. KimeraRPGO gets the error "/devel/include/gtsam/base/OptionalJacobian.h:22:23: fatal error: Eigen/Dense: No such file or directory". kimera_ros still gets "/devel/include/gtsam/base/Vector.h:72:1: error: static assertion failed: Error: GTSAM was built against a different version of Eigen" regardless of which eigen version I am building gtsam with |
@jbdaniel18 what Ubuntu are you using? |
I am using Ubuntu 16.04 |
I am also using Ubuntu 16.04 |
Hi, I am able to build KimeraRPGO but Kimera VIO fails. I am using Ubuntu 16.04 as well. |
Hi, I am using Ubuntu 16.04. I found the problem is that the package |
Thanks @673402618 ! The error message can be safely ignored. It is just that the Loop Closure detector is not activated. |
Same issue, fixed by upgrading system eigen in /usr/include/eigen3 to Eigen 3.3.7. Thanks @673402618. |
@roelofvandijk can you please describe how you updated Eigen? Is it through source or apt-get? |
I was able to fix the problem by setting
|
Switched to Ubuntu 18.04 and ROS melodic. I did not come across this issue after that. |
Add -DGTSAM_USE_SYSTEM_EIGEN=ON to CMake flags for Ubuntu 16.04 (see issue MIT-SPARK#12).
Check also #43 |
|
I had to do this in a Ubuntu 20.04 Docker container (ros_noetic base), following the steps in the Kimera-VIO-ROS readme |
I was able to fix this issue by using the command: |
Description:
I built gtsam with and without the default eigen. Still getting the error
Console output:
Similar error is thrown for other library files.
Please give also the following information:
The text was updated successfully, but these errors were encountered: