Ubuntu 16.04 catkin_make 常见操作


参考博客:https://answers.ros.org/question/54178/how-to-build-just-one-package-using-catkin_make/

1. catkin_make 构建单个包

catkin_make --only-pkg-with-deps <target_package>

构建单个包完成之后可以使用如下指令恢复构建全部包的状态

catkin_make -DCATKIN_WHITELIST_PACKAGES=""

2. 另外一种更好的方式是使用Catkin-Tools

sudo apt-get install python-catkin-tools

2.1构建单个包

catkin build <target_package>

2.2可以再包的根目录下构建当前包

catkin build --this

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM