报错信息:
1
2
3
4
5undefined 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.
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.
最后
以上就是机灵雪碧最近收集整理的关于Issue : Undefined reference to的全部内容,更多相关Issue内容请搜索靠谱客的其他文章。
发表评论 取消回复