我是靠谱客的博主 机灵雪碧,最近开发中收集的这篇文章主要介绍Issue : Undefined reference to,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

报错信息:

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.

最后

以上就是机灵雪碧为你收集整理的Issue : Undefined reference to的全部内容,希望文章能够帮你解决Issue : Undefined reference to所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(52)

评论列表共有 0 条评论

立即
投稿
返回
顶部