rtabmap icon indicating copy to clipboard operation
rtabmap copied to clipboard

Is current rtabmap 0.20.16 compatible with boost 1.78.0 ?

Open jiapei100 opened this issue 3 years ago • 1 comments
trafficstars

Failed to build current rtabmap 0.20.6, with the following ERROR messages:

[ 81%] Linking CXX executable ../../bin/rtabmap
......
/usr/bin/ld: ../../bin/librtabmap_core.so.0.20.16: undefined reference to `boost::filesystem::path::extension() const'
/usr/bin/ld: ../../bin/librtabmap_core.so.0.20.16: undefined reference to `boost::filesystem::path::parent_path() const'
/usr/bin/ld: ../../bin/librtabmap_core.so.0.20.16: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [app/src/CMakeFiles/rtabmap.dir/build.make:306: bin/rtabmap] Error 1
make[2]: Leaving directory '....../rtabmap/build'
make[1]: *** [CMakeFiles/Makefile2:884: app/src/CMakeFiles/rtabmap.dir/all] Error 2
make[1]: Leaving directory '....../rtabmap/build'
make: *** [Makefile:159: all] Error 2

Just realize that current rtabmap also rely on boost, but there is NOTHING related to boost in CMakeLists.txt ???

jiapei100 avatar Jan 02 '22 05:01 jiapei100

The boost dependency is coming from PCL or any other dependency using boost. Which version is your cmake? You may try with a more recent CMake version.

matlabbe avatar Jan 03 '22 17:01 matlabbe