Skip to content

GTSAM related compile error with BLAM #95

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

Closed
BMannell opened this issue Jul 30, 2019 · 2 comments
Closed

GTSAM related compile error with BLAM #95

BMannell opened this issue Jul 30, 2019 · 2 comments

Comments

@BMannell
Copy link

This issue is centered around the blam library. I get the following error when trying to build blam.

In file included from /home/ben/Documents/blam/internal/src/laser_loop_closure/include/laser_loop_closure/LaserLoopClosure.h:45:0,
                 from /home/ben/Documents/blam/internal/src/laser_loop_closure/src/LaserLoopClosure.cc:37:
/usr/local/include/gtsam/base/Vector.h:72:1: error: static assertion failed: Error: GTSAM was built against a different version of Eigen
 static_assert(
 ^

Is there a way to enforce GTSAM to use a specific version of Eigen?
GTSAM seems to come packaged with a version of Eigen, is there some way to get it to use the previously installed version?
How can I tell which version is being used in order to align the version of the other package?

OS: Ubuntu 16.04 LTS
Latest versions of each library from github repos.

@jlblancoc
Copy link
Member

Try setting GTSAM_USE_SYSTEM_EIGEN=ON

@BMannell
Copy link
Author

@jlblancoc Thank you!

varunagrawal added a commit that referenced this issue Apr 20, 2021
b2144a712 Merge pull request #95 from borglab/feature/empty-str-default-arg
9f1e727d8 Merge pull request #96 from borglab/fix/cmake
97ee2ff0c fix CMake typo
64a599827 support empty strings as default args
7b14ed542 Merge pull request #94 from borglab/fix/cmake-messages
0978641fe clean up
5b9272557 Merge pull request #91 from borglab/feature/enums
56e6f48b3 Merge pull request #93 from borglab/feature/better-template
27cc7cebf better cmake messages
a6318b567 fix tests
b7f60463f remove export_values()
38304fe0a support for class nested enums
348160740 minor fixes
5b6d66a97 use cpp_class and correct module name
2f7ae0676 add newlines and formatting
6e7cecc50 remove support for enum value assignment
c1dc925a6 formatting
798732598 better pybind template
f6dad2959 pybind_wrapper fixes with formatting
7b4a06560 Merge branch 'master' into feature/enums
1982b7131 more comprehensive tests for enums
3a0eafd66 code for wrapping enums
398780982 tests for enum support

git-subtree-dir: wrap
git-subtree-split: b2144a712953dcc3e001c97c2ace791149c97278
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

2 participants