libboost required on v10.0.0
Posted: Mon Jul 04, 2022 9:27 am
Compile libvisiontransfer v10.0.0 on RedHat 8
Need to modify line 102 of CmakeLists.txt to include libboost, from:
to:
Code: Select all
[ 83%] Linking CXX executable pcl_example
/usr/bin/ld: CMakeFiles/pcl_example.dir/pcl_example.cpp.o: undefined reference to symbol '_ZN5boost6system16generic_categoryEv'
Code: Select all
target_link_libraries(pcl_example visiontransfer${LIB_SUFFIX} ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES} ${PCL_FILTERS_LIBRARIES} ${EXTRA_LIBS} )
Code: Select all
target_link_libraries(pcl_example visiontransfer${LIB_SUFFIX} ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES} ${PCL_FILTERS_LIBRARIES} ${EXTRA_LIBS} boost_system)