Catkin and eclipse projects (OSX) [closed]

asked 2013-02-16 10:02:18 -0600

Hansg91 gravatar image

updated 2014-01-28 17:15:17 -0600

ngrennan gravatar image

Hey,

I am using a catkin workspace and cmake to generate eclipse CDT4 unix makefiles on OSX and it is working fine, but the project seems to be missing some system includes. If I check in Eclipse, in the Project Explorer for the generated project what the includes are, I see all the include folders from my catkin projects, but thats it.

Now if I create a new C++ Hello World project in Eclipse, I see some folders that I do not see in the cmake generated project:

/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include
/Library/Frameworks
/System/Library/Frameworks
/usr/include/c++/4.2.1
/usr/include/c++/4.2.1/backward
/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include
/usr/include

(There are a few more include paths, but these also occur in the cmake generated project)

Now as a consequence, anything that contains for example a std::string is considered an error for Eclipse, becaues it does not know this type. Is there anything I can do about this?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-10-30 17:55:06.320063