Comments (14)
This helps me:
mkdir build && cd build
cmake -DGTSAM_USE_SYSTEM_EIGEN=ON ..
sudo make install
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.
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.
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)
- Trouble using a Custom Factor HOT 1
- PreintegrationParams parameter not exposed in Python wrapper HOT 2
- Custom factor without Jacobian HOT 2
- Support bazel in addition to cmake HOT 1
- GNC Example HOT 1
- ISAM2 recalculatelaBatch() BUG .When using Inc smoother, CPU usage increases HOT 2
- Resizing factor graph when using iSAM HOT 1
- /usr/local/include/gtsam/base/OptionalJacobian.h:126:43: error: function definition does not declare parameters HOT 2
- Avoid dense fill-in during margianlization HOT 1
- Possible quaternion conversion bug HOT 3
- # include<gtsam/navigation/ImuFactor.h> cannot comiled successfully HOT 1
- RuntimeError: Shonan::run did not converge for given pMax HOT 9
- BoundingConstraint1 with double parameter HOT 2
- Fisheye calibration factor in Python HOT 1
- Is the current latest tag a pre-release? HOT 4
- Matlab "IMUKittiExampleGPS" example result in an error HOT 3
- Generating Matlab toolbox on windows fails
- Error in test scrpipt "TranslationAveragingExample.py" HOT 4
- gtsam doesn't build on i386 or armhf HOT 29
- KeySet class in python is missing methods HOT 4
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.