-
Notifications
You must be signed in to change notification settings - Fork 184
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
tbb problem #24
Comments
It seems like GTSAM does not propagate tbb as a linking dependency. One workaround is to just compile GTSAM without tbb (this might have a slight impact on runtime, but I think not too serious) You could also try out this: borglab/gtsam#240 (comment) Lastly, you could explicitly link DM-VIO against tbb and tbbmalloc (by adding them to https://github.com/lukasvst/dm-vio/blob/master/CMakeLists.txt#L192 ) Please let me know which of these solutions work for you. |
Thank you for your reply. |
Thanks for letting us know the solution! |
Hello,everyone.
I have followed the readme.md, but meet the problem below when I comfile dm-vio.
/usr/bin/ld: lib/libdmvio.a(IMUIntegration.cpp.o): undefined reference to symbol '_ZN3tbb6detail2r117deallocate_memoryEPv'
/usr/bin/ld: /usr/local/lib/libtbb.so.12: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
It seems to be the former issue #6.
But I have tried the same way (as below) to install my gtsam but the problem still exists.
cmake -DGTSAM_POSE3_EXPMAP=ON -DGTSAM_ROT3_EXPMAP=ON -DGTSAM_USE_SYSTEM_EIGEN=ON -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF ..
make -j4
sudo make install
My gtsam version is 4.2a6. And my tbb version is 2021.5.0.
I hope someone can give me a hand. Thank you very much!
The text was updated successfully, but these errors were encountered: