Skip to content
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

While build the rtabmap and rtabmap_ros package in Xavier CPU with a galactic version . these error will come every time. Any suggestions ?? #1039

Open
sunilbodla opened this issue Sep 27, 2023 · 2 comments

Comments

@sunilbodla
Copy link

/bin/ld: ../../bin/librtabmap_core.so.0.21.2: undefined reference to octomath::Pose6D::Pose6D(octomath::Pose6D const&)' collect2: error: ld returned 1 exit status make[2]: *** [tools/ConsoleApp/CMakeFiles/consoleApp.dir/build.make:216: bin/rtabmap-console] Error 1 make[1]: *** [CMakeFiles/Makefile2:1193: tools/ConsoleApp/CMakeFiles/consoleApp.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/ld: ../../bin/librtabmap_core.so.0.21.2: undefined reference to octomath::Pose6D::Pose6D(octomath::Pose6D const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/Camera/CMakeFiles/camera.dir/build.make:216: bin/rtabmap-camera] Error 1
make[1]: *** [CMakeFiles/Makefile2:1361: tools/Camera/CMakeFiles/camera.dir/all] Error 2
/bin/ld: ../../bin/librtabmap_core.so.0.21.2: undefined reference to `octomath::Pose6D::Pose6D(octomath::Pose6D const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/ExtractObject/CMakeFiles/extractObject.dir/build.make:216: bin/rtabmap-extractObject] Error 1
make[1]: *** [CMakeFiles/Makefile2:1305: tools/ExtractObject/CMakeFiles/extractObject.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

@anath93
Copy link

anath93 commented Sep 27, 2023

Looks like you have issue with octomap library missing, can you check with sudo apt install ros-galactic-octomap, then try to clean workspace and re-build ?

@matlabbe
Copy link
Member

Maybe related to #737 (comment)

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

3 participants