Robotics StackExchange | Archived questions

ROS in eclipse - not compiling std libs

Hi all, I follow this steps to run ROS in eclipse,

*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?

Asked by danielroth on 2018-12-22 08:05:17 UTC

Comments

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.

Asked by rayvburn on 2018-12-23 04:07:48 UTC

I didnt know I can set the include path manually - how do I do that?

Asked by danielroth on 2018-12-23 06:35:19 UTC

It's something like Project->Properties->C/C++ General->Paths and Symbols or Preprocessor Include Paths, Macros etc.

Asked by rayvburn on 2018-12-23 09:56:21 UTC

I will try it - thank you!

Asked by danielroth on 2018-12-24 01:56:58 UTC

Answers