-
Notifications
You must be signed in to change notification settings - Fork 560
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
Can't build from source : WifiSignalSubNode.cpp undefined reference to rtabmap::util3d::transformPointCloud #1238
Comments
Maybe it is related to this warning:
As you are rebuilding everything from source, uninstall libpcl* and ros-$ROS_DISTRO-pcl* before rebuilding rtabmap
You may need to rebuild pcl_ros from source too in case rtabmap_ros fails to find it. |
Thank you for your response. My workaround is to delete the older version All source builds up to RTABmap find perfectly each previous builds. That also seem to be the case with RTABmap_ros |
Yes, so you have to rebuild them from source.
The problem is that even if rtabmap is building against the pcl version built from source, on runtime the wrong library version can be loaded and it will just seg fault. You may verify that with From experience, I've found that avoiding having the same libraries with different version installed at the same time saves a lot of issues down the road. Unless you really need latest PCL version, I would stick to the binaries to make your life easier. Note also rebuilding latest PCL on machine using c++17 by default can cause some issues. See introlab/rtabmap#1385 (comment) to set the right compile flags to avoid issues with GTSAM and g2o libraries using also Eigen library. EDIT: just re-read original post, PCL-CUDA is not used by RTAB-Map. |
I am trying to build rtabmap & rtabmap-ros from source, because I want CUDA support RTAB map docker, that for now I'm testing it on native Ubuntu20.04. As far as rtabmap everything works, without building errors.
RTABmap & RTABmap-ros version 0.21.5-noetic
VTK version 9.4 ( tried 7.1 too )
PCL version 1.14.1 (without the -march=native flag)(tried down to 1.11) [ can't test 1.10 'cause I don't have the right GPU ]
Boost version 1.71
OpenCV version : latest 4.x
ROS : Noetic , Ubuntu 20.04 (docker)
Tried different GCC/G++ [ v11, v8 ]
Any help would be much appreciated. I've struggled for days on these and past problems
Note: I am not planning to use directly WiFi capabilities (if any), so disabling(bypassing) this, may still suffice
Error code : while running
catkin_make -j1
from "catkin_ws" folderDockerfile code
Tried to clean any irrelevant code
I hope you can copy-paste without typos from my part
The text was updated successfully, but these errors were encountered: