Ubuntu – Eclipse can’t find index libraries of GCC or G++

eclipseeclipse-cdtg++gcc

The instalation of CDT Tools on Eclipse can't find on index libraries of GCC or G++, but the file is running. Ex:

include stdio.h (The comment doesn't accept <> and #) The are a yellow line description: Unresolved inclusion. If I try to acess the library, just can't open because is not found.

Best Answer

I had a similar problem with the HelloWorld example. "namespace Std" and "cout" gave a "not resolved" error. I fixed this by simply restarting eclipse. Seems it does not recognize all include paths after a fresh installation / project creation.