Issue : Undefined reference to

19 篇文章 0 订阅
11 篇文章 0 订阅

报错信息:

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.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值