-
Notifications
You must be signed in to change notification settings - Fork 30
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
Undefined refrence to ros:: #16
Comments
Hello @chris-aeviator. |
Hi, |
I had the same undefined references issue today as @TuVieja, @chris-aeviator, and managed to find a fix after some trial and error. When compiling Open3D from source, go into the top level CMakeLists file, and set GLIBCXX_USE_CXX11_ABI to ON instead of OFF. I am running ubuntu 20, noetic, gcc 9.3, no docker just a standard setup, and this fixed the issue for me. This is probably more of a workaround then a solution, since the machine learning module of Open3D is not compiling yet for me with this setup, but at least this got the core of Open3D working with ROS, and this nice package as well for me. |
Hello @Ezzence, Evidently, there existed issues (#414) on using ROS with Open3D that are resolved using your workaround. Although the update proposed above resolves the present issue, I will explore whether a better solution exists for the sake of future compilations. |
Same thing here, using c++ version of Open3D alongside PCL. CMAKE was reporting undefined reference to "pcl_visualizer.h" and some other headers. The "Setting GLIBCXX_USE_CXX11_ABI to ON" workaround worked like a charm, saved my life quite literally. Looking forward to future updates. |
This worked for me as well:
|
When building the examples via catkin build. open3d_conversions builds fine. Running on ros-melodic "official" docker container
EDIT: same happens when running
catkin_make
The text was updated successfully, but these errors were encountered: