You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 )
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
The text was updated successfully, but these errors were encountered: