Comments (14)
This helps me:
mkdir build && cd build
cmake -DGTSAM_USE_SYSTEM_EIGEN=ON ..
sudo make install
from gtsam.
This problem can also rise if you have different Eigen versions on your system. For example I faced this problem when GTSAM used Eigen from /usr/local/include
when I specified -DGTSAM_USE_SYSTEM_EIGEN=ON
, while the other library that I was trying to build used Eigen from /usr/include
.
from gtsam.
The error message gives you the problem: ROS/catkin seems to be using a different version of Eigen than the one you used to compile GTSAM with. You may have to manually specify the Eigen path using cmake during compilation.
from gtsam.
Thanks, what you mean is there are two kinds of eigen in my system? But i already rebuilt them two, why didnt it work?
from gtsam.
There is one version of Eigen that possibly came with ROS or was already on your system, and there seems to be another one, which is most likely what you have installed manually.
This is a support question and not a GTSAM problem. I highly recommend asking this doubt on the Google group.
from gtsam.
Thanks, but i tried. it doesnt work...
from gtsam.
This helps me:
mkdir build && cd build cmake -DGTSAM_USE_SYSTEM_EIGEN=ON .. sudo make install
This solved my problem without changing any of my code
from gtsam.
@hello-sea @TixiaoShan @varunagrawal
Thank you all for the attention, I've found the problem: i was not using the specific version of gtsam you (@TixiaoShan ) mentioned in LeGO-loam. Instead I was using the newest version and after i changed it. It works now.
But it seems that i cannot use this gtsam in other projects. Such like when i add gtsam in the CMakelists and AS LONG AS #include some gtsam headers in my cpp, it goes like "Process finished with exit code 134 (interrupted by signal 6: SIGABRT)" even though i reinstalled it some times. Some headers are fine, but #include <gtsam/slam/BetweenFactor.h> doesnt !
Do you have any ideas about this ? I would be grateful.
from gtsam.
@YangSiri
I am using the latest GTSAM for LeGO-LOAM, it seems to be working fine. Sorry I have no insight for your problem.
from gtsam.
@TixiaoShan
You do ? But i had to download the gtsam you provided. And it would work. Maybe i was wrong. Sorry, But why cant i use it in other projects ? Im really confused.
from gtsam.
@YangSiri
I think something is changed in GTSAM between the alpha version and the current version. Honestly, I don't know the real reason behind this.
from gtsam.
@TixiaoShan
Yes, thank you anyway. I think you had done a great work !
from gtsam.
Hi, @MohamedAfifii thanks
Now this problem is gone somehow. But i cant use gtsam in my own project.
So you were saying we'd better avoid using two different version of Eigen in one project(CMakeList)? There seems to be two version of gtsam, how can i remove it?
from gtsam.
@YangSiri
cat install_manifest.txt | xargs echo sudo rm | sh
Please check if it helps.
from gtsam.
Related Issues (20)
- Cannot find the Jacobian of Pose3 HOT 1
- Requested to eliminate a key that is not in the factors HOT 1
- LocalizationExample impossible porting to Python
- Add ExpressionFactor to Python Wrapper. HOT 3
- TriangulationFactor Python HOT 1
- ROS2 Jazzy binaries not using GTSAM_USE_SYSTEM_EIGEN=ON HOT 7
- Directed factors HOT 3
- GeographicLib not found Cmake fix HOT 2
- localCoordinates gives incorret Jacobian matrix? HOT 1
- installation failed HOT 1
- tbb/scalable_allocator.h: No such file or directory (RHEL) HOT 5
- Building error when compiling examples with boost-1.82.0 HOT 3
- Numpy 2.0 arrays cause segfaults in many GTSAM constructors HOT 3
- Unary Factor Usage Error
- Optmization Failed by using Unary Factor HOT 2
- Modernize GTSAM containers HOT 4
- Failed to import after compiling with build type `Timing`
- Add "point" method to Python realization of SmartProjectionPose3Factor HOT 2
- Convergence analysis of factor graph HOT 1
- ROS2 Lookup error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtsam.