Issue : Undefined reference to
程序员文章站
2022-07-08 14:23:17
...
报错信息:
undefined reference to `serial::Serial::Serial(
undefined reference to `actionlib::GoalIDGenerator::
诸如此类
参考:
https://answers.ros.org/question/226719/undefined-reference-to-rosinit/
mkdir -p ~/test_space/src
cd ~/test_space/src/
catkin_init_workspace
cd ..
catkin_make
source devel/setup.bash
cp -r ~/catkin_ws/src/LongbowRobot/nogrp_moveit_config ./src/
catkin_make nogrp_moveit_config
思路: 当某一package 编译不过去的时候,可以试着把它拿出来单独编译。
in catkin_ws rm
-rf build devel install
ought to work as a 'superclean' that maybe would have also solved your problem. The only thing left over that could
mess up your build would maybe be an old or somehow corrupted catkin_ws/src/CMakeLists.txt, rm and catkin_init_workspace to make a new one.
in catkin_ws
rm
-rf build devel install
ought to work as a 'superclean' that maybe would have also solved your problem. The only thing left over that could mess
up your build would maybe be an old or somehow corrupted catkin_ws/src/CMakeLists.txt, rm and catkin_init_workspace to make a new one.
推荐阅读
-
Windows编译OpenCV4Android解决undefined reference to std错误
-
Notice: Undefined index: page in E:PHP est.php on line 14
-
php运行出现Call to undefined function curl_init()的解决方法
-
Apache启动提示错误undefined symbol: libiconv_open解决方法
-
php Notice: Undefined index 错误提示解决方法
-
IIS下PHP连接数据库提示mysql undefined function mysql_connect()
-
js删除对象/数组中null、undefined、空对象及空数组方法示例
-
Implicit super constructor Array() is undefined for default constructor. Must define an explicit constructor
-
Win8系统发生蓝屏提示reference by pointer错误的故障原因及解决方法
-
Fatal error: Call to undefined function curl_init()解决方法