We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 20.04 ROS noetic
when I ran catkin build convex_plane_decomposition_ros It occured
catkin build convex_plane_decomposition_ros
/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
The text was updated successfully, but these errors were encountered:
Wish you could help me to solve this issue ,thanks
Sorry, something went wrong.
错误原因是因为在链接阶段,编译器无法解释"__gmpn_com"的引用,并在连接libgmp库时出问题。
在convex_plane_decompositon_ros 包的CMakeList.txt文件的target_link_libraries中末尾添加“-lgmp”
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: