同Qt调试较大的CMakeLists程序时,比较卡,变量查看跳转很慢,所以转到eclipse下面。
主要内容参照:
http://www.cnblogs.com/freedomshe/archive/2013/05/16/configure_eclipse_in_catkin.html
还有一篇:http://blog.csdn.net/sunbibei/article/details/45319457,也有相应的参考
但是遇到一些问题,记录如下:
1.运行报错:
“ [31m[FATAL] [1475987926.825032659]: ROS_MASTER_URI is not defined in the environment. Either type the following or (preferrably) add this to your ~/.bashrc file in order set up your local machine as a ROS master:
export ROS_MASTER_URI=http://localhost:11311 ”
windows->preference->c/c++->build->environment
点击add,添加对应的变量
如果出现找不到头文件之类的,或者编辑器中,头文件那里一直报错,
就把所有的变量添加上。
add->select->select All