# Revision history [back]

### Standard system include paths missing in Eclipse from catkin_make

PROBLEM:
When I use catkin_make to create the Eclipse project files, it does not include some standard system dependencies in the Include Paths, namely:

/usr/include/c++/4.6
/usr/include/c++/4.6/x86_64-linux-gnu
/usr/include/c++/4.6/backward

SPECIFICS:
I run {{{ $catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles" }}} and import the project in Eclipse from the build directory. (see http://answers.ros.org/question/52013/catkin-and-eclipse/) When I import the project in Eclipse, it is missing the above includes, which causes it to complain about - namely, among other things - unresolved include of #include <string>. This propagates errors of "Type std::string could not be resolved". The package builds just fine, which means the compiler can resolve all required includes, this is just a problem in using Eclipse effectively. QUESTION: Is there a way to have catkin build the Eclipse project files with those includes? (SPECS: Groovy on Ubuntu 12.04) ### Standard system include paths missing in Eclipse from catkin_make PROBLEM: When I use catkin_make to create the Eclipse project files, it does not include some standard system dependencies in the Include Paths, namely: • /usr/include/c++/4.6 • /usr/include/c++/4.6/x86_64-linux-gnu • /usr/include/c++/4.6/backward SPECIFICS: I run {{{ run $ catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles"
}}}


and import the project in Eclipse from the build directory. (see http://answers.ros.org/question/52013/catkin-and-eclipse/) catkin and eclipse)
When I import the project in Eclipse, it is missing the above includes, which causes it to complain about - namely, among other things - unresolved "Unresolved include of #include <string>. < string >"

This in turn propagates errors of "Type std::string could not be resolved".resolved"

The package builds just fine, which means the compiler can resolve all required includes, this is just a problem in using Eclipse effectively.

QUESTION: Is there a way to have catkin build the Eclipse project files with those includes?

(SPECS: Groovy on Ubuntu 12.04)

### Standard system include paths missing in Eclipse from catkin_make

PROBLEM:
When I use catkin_make to create the Eclipse project files, it does not include some standard system dependencies in the Include Paths, namely:

• /usr/include/c++/4.6
• /usr/include/c++/4.6/x86_64-linux-gnu
• /usr/include/c++/4.6/backward

SPECIFICS:
I run

 $catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles"  and import the project in Eclipse from the build directory. (see catkin and eclipsecatkin_and_eclipse) When I import the project in Eclipse, it is missing the above includes, which causes it to complain about - namely, among other things - "Unresolved include of #include < string >" This in turn propagates errors of "Type std::string could not be resolved" The package builds just fine, which means the compiler can resolve all required includes, this is just a problem in using Eclipse effectively. QUESTION: Is there a way to have catkin build the Eclipse project files with those includes? (SPECS: Groovy on Ubuntu 12.04) ### Standard system include paths missing in Eclipse from catkin_make PROBLEM: When I use catkin_make to create the Eclipse project files, it does not include some standard system dependencies in the Include Paths, namely: • /usr/include/c++/4.6 • /usr/include/c++/4.6/x86_64-linux-gnu • /usr/include/c++/4.6/backward SPECIFICS: I run $ catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles"


and import the project in Eclipse from the build directory. (see catkin_and_eclipsecatkin and eclipse)
When I import the project in Eclipse, it is missing the above includes, which causes it to complain about - namely, among other things - "Unresolved include of #include < string >"

This in turn propagates errors of "Type std::string could not be resolved"

The package builds just fine, which means the compiler can resolve all required includes, this is just a problem in using Eclipse effectively.

QUESTION: Is there a way to have catkin build the Eclipse project files with those includes?

(SPECS: Groovy on Ubuntu 12.04)

 5 retagged

### Standard system include paths missing in Eclipse from catkin_make

PROBLEM:
When I use catkin_make to create the Eclipse project files, it does not include some standard system dependencies in the Include Paths, namely:

• /usr/include/c++/4.6
• /usr/include/c++/4.6/x86_64-linux-gnu
• /usr/include/c++/4.6/backward

SPECIFICS:
I run

 $catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles"  and import the project in Eclipse from the build directory. (see catkin and eclipse) When I import the project in Eclipse, it is missing the above includes, which causes it to complain about - namely, among other things - "Unresolved include of #include < string >" This in turn propagates errors of "Type std::string could not be resolved" The package builds just fine, which means the compiler can resolve all required includes, this is just a problem in using Eclipse effectively. QUESTION: Is there a way to have catkin build the Eclipse project files with those includes? (SPECS: Groovy on Ubuntu 12.04)  6 retagged ### Standard system include paths missing in Eclipse from catkin_make PROBLEM: When I use catkin_make to create the Eclipse project files, it does not include some standard system dependencies in the Include Paths, namely: • /usr/include/c++/4.6 • /usr/include/c++/4.6/x86_64-linux-gnu • /usr/include/c++/4.6/backward SPECIFICS: I run $ catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles"


and import the project in Eclipse from the build directory. (see catkin and eclipse)
When I import the project in Eclipse, it is missing the above includes, which causes it to complain about - namely, among other things - "Unresolved include of #include < string >"

This in turn propagates errors of "Type std::string could not be resolved"

The package builds just fine, which means the compiler can resolve all required includes, this is just a problem in using Eclipse effectively.

QUESTION: Is there a way to have catkin build the Eclipse project files with those includes?

(SPECS: Groovy on Ubuntu 12.04)