elevation_mapping_cupy icon indicating copy to clipboard operation
elevation_mapping_cupy copied to clipboard

ERROR in building the convex_plane_decomposition_ros #10

Open ajxdhe opened this issue 10 months ago • 1 comments

Ubuntu 20.04 ROS noetic

when I ran catkin build convex_plane_decomposition_ros It occured

/usr/include/boost/parameter/config.hpp:61: note: this is the location of the previous definition 61 | #define BOOST_PARAMETER_MAX_ARITY BOOST_MPL_LIMIT_VECTOR_SIZE | /usr/bin/ld: CMakeFiles/convex_plane_decomposition_ros_TestShapeGrowing.dir/test/TestShapeGrowing.cpp.o: undefined reference to symbol '__gmpn_com' /usr/bin/ld: /lib/x86_64-linux-gnu/libgmp.so.10: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/convex_plane_decomposition_ros_TestShapeGrowing.dir/build.make:227:/home/skywalker/quardroped/devel/.private/convex_plane_decomposition_ros/lib/convex_plane_decomposition_ros/convex_plane_decomposition_ros_TestShapeGrowing] 错误 1 make[1]: *** [CMakeFiles/Makefile2:225:CMakeFiles/convex_plane_decomposition_ros_TestShapeGrowing.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... make: *** [Makefile:141:all] 错误 2

Wish you could help me to solve this issue ,thanks

ajxdhe avatar Mar 28 '24 16:03 ajxdhe

I solved the same problem by link gmp library. # GMP find_library(GMP_LIBRARY NAMES gmp) and add gmp at line132 target_link_libraries(${PROJECT_NAME}_TestShapeGrowing ${catkin_LIBRARIES} ${OpenCV_LIBRARIES} gmp )

Freaky1122 avatar Jul 13 '24 08:07 Freaky1122