同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