Closed parkerlreed closed 3 years ago
I realized I mistakenly built 1.11. Compiling and retesting with 1.12 now.
Same error as master on 1.12
[ 8%] Linking CXX executable /home/parker/build/ros-noetic-rtabmap/src/rtabmap/bin/rtabmap-extractObject
In file included from /home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/util3d_surface.h:475,
from /home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/Memory.cpp:51:
/home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/impl/util3d_surface.hpp: In function ‘void rtabmap::util3d::denseMeshPostProcessing(pcl::PolygonMeshPtr&, float, int, const typename pcl::PointCloud<PointT>::Ptr&, float, bool, bool, int, rtabmap::ProgressState*)’:
/home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/impl/util3d_surface.hpp:108:22: error: ‘fromPCLPointCloud2’ is not a member of ‘pcl’; did you mean ‘PCLPointCloud2’?
108 | pcl::fromPCLPointCloud2(mesh->cloud, *coloredCloud);
| ^~~~~~~~~~~~~~~~~~
| PCLPointCloud2
/home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/impl/util3d_surface.hpp:153:22: error: ‘toPCLPointCloud2’ is not a member of ‘pcl’; did you mean ‘PCLPointCloud2’?
153 | pcl::toPCLPointCloud2(*coloredCloud, mesh->cloud);
| ^~~~~~~~~~~~~~~~
| PCLPointCloud2
/home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/impl/util3d_surface.hpp:247:30: error: ‘fromPCLPointCloud2’ is not a member of ‘pcl’; did you mean ‘PCLPointCloud2’?
247 | pcl::fromPCLPointCloud2(mesh->cloud, *cloud);
| ^~~~~~~~~~~~~~~~~~
| PCLPointCloud2
/home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/impl/util3d_surface.hpp:285:30: error: ‘toPCLPointCloud2’ is not a member of ‘pcl’; did you mean ‘PCLPointCloud2’?
285 | pcl::toPCLPointCloud2 (*cloud, mesh->cloud);
| ^~~~~~~~~~~~~~~~
| PCLPointCloud2
/home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/impl/util3d_surface.hpp:290:30: error: ‘fromPCLPointCloud2’ is not a member of ‘pcl’; did you mean ‘PCLPointCloud2’?
290 | pcl::fromPCLPointCloud2(mesh->cloud, *cloud);
| ^~~~~~~~~~~~~~~~~~
| PCLPointCloud2
/home/parker/build/ros-noetic-rtabmap/src/rtabmap/corelib/src/../include/rtabmap/core/impl/util3d_surface.hpp:315:30: error: ‘toPCLPointCloud2’ is not a member of ‘pcl’; did you mean ‘PCLPointCloud2’?
315 | pcl::toPCLPointCloud2 (*cloud, mesh->cloud);
| ^~~~~~~~~~~~~~~~
| PCLPointCloud2
[ 8%] Built target extractObject
[ 8%] Building CXX object corelib/src/CMakeFiles/rtabmap_core.dir/DBDriverSqlite3.cpp.o
make[2]: *** [corelib/src/CMakeFiles/rtabmap_core.dir/build.make:123: corelib/src/CMakeFiles/rtabmap_core.dir/Memory.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Cannot reproduce the problem with PCL 1.12 and pcl master:
./rtabmap --version
RTAB-Map: 0.20.13
PCL: 1.12.0
With VTK: 9.0.1
OpenCV: 4.2.0
With OpenCV xfeatures2d: false
With OpenCV nonfree: false
With ORB OcTree: true
With SuperPoint Torch: false
With Python3: false
With FastCV: false
With Madgwick: true
With TORO: true
With g2o: true
With GTSAM: true
With Vertigo: true
With CVSBA: false
With Ceres: true
With OpenNI2: true
With Freenect: true
With Freenect2: true
With K4W2: false
With K4A: true
With DC1394: true
With FlyCapture2: false
With ZED: true
With ZED Open Capture: false
With RealSense: false
With RealSense SLAM: false
With RealSense2: false
With MYNT EYE S: false
With DepthAI: true
With libpointmatcher: true
With CCCoreLib: true
With octomap: true
With cpu-tsdf: false
With open chisel: false
With Alice Vision: false
With LOAM: false
With FOVIS: false
With Viso2: false
With DVO: false
With ORB_SLAM: false
With OKVIS: false
With MSCKF_VIO: false
With VINS-Fusion: false
With OpenVINS: false
There is maybe a problem with the include paths, because pcl::fromPCLPointCloud2
and pcl::toPCLPointCloud2
do really exist in the include path here:
https://github.com/introlab/rtabmap/blob/c43118cde89b6e1bbb3a7ade6875fc7ee488f9a1/corelib/include/rtabmap/core/impl/util3d_surface.hpp#L12
conversions.h: https://github.com/PointCloudLibrary/pcl/blob/master/common/include/pcl/conversions.h#L166-L347
Thank you for pointing out that include line. I HAD looked there earlier and it wasn't there. Realized the script I used pulled an old tag from rtabmap-releases repo, ugh. ACTUALLY building master now.
Success! Thanks again.
[parker@wolfcola ros-noetic-rtabmap]$ rtabmap --version
RTAB-Map: 0.20.13
PCL: 1.12.0
With VTK: 8.2.0
OpenCV: 4.5.3
With OpenCV xfeatures2d: true
With OpenCV nonfree: true
With ORB OcTree: true
With SuperPoint Torch: false
With Python3: false
With FastCV: false
With Madgwick: true
With TORO: true
With g2o: true
With GTSAM: true
With Vertigo: true
With CVSBA: false
With Ceres: false
With OpenNI2: true
With Freenect: true
With Freenect2: true
With K4W2: false
With K4A: false
With DC1394: true
With FlyCapture2: false
With ZED: false
With ZED Open Capture: false
With RealSense: false
With RealSense SLAM: false
With RealSense2: false
With MYNT EYE S: false
With DepthAI: false
With libpointmatcher: true
With CCCoreLib: false
With octomap: true
With cpu-tsdf: false
With open chisel: false
With Alice Vision: false
With LOAM: false
With FOVIS: false
With Viso2: false
With DVO: false
With ORB_SLAM: false
With OKVIS: false
With MSCKF_VIO: false
With VINS-Fusion: false
With OpenVINS: false
Arch Linux
pcl 1.12 and pcl master are both not working for compilation currently.
1.12
master
CMake output