ROS in eclipse - not compiling std libs
Hi all, I follow this steps to run ROS in eclipse,
- in catkin_ws catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles" awk -f $(rospack find mk)/eclipse.awk build/.project > build/.project_with_env && mv build/.project_with_env build/.project cmake src -DCMAKE_BUILD_TYPE=Debug source ~/catkin_ws/deval/setup.bash
*open eclipse (eclipse command) *open project: file->import->general->existing_projects...
*select project from catkin_ws/build folder
now, when compiling in eclipse it shows 'problems' in the following std libraries, -mutex -thread -condition_variable
does anyone know why and how to fix?
Have a look at this: ETHZ
You should also remember to set manually in Eclipse include path to your c++ std libs directory if it didn't add automatically.
I didnt know I can set the include path manually - how do I do that?
It's something like Project->Properties->C/C++ General->Paths and Symbols or Preprocessor Include Paths, Macros etc.
I will try it - thank you!