This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Development with GCC and Eclipse

hi i follow "Development with GCC and Eclipse" in tutorial to Create a new Eclipse project step i got some problems

image description

it says " type XXX could not be resolved" it may many include flie not be found

how can i solve it

Parents
  • Assuming that the include files do actually exist then, if it's not finding those files, that must be because you have not correctly configured the Include Paths.

    Note that there are two things which are trying to understand your code: not only the compiler (in order to compile it) but also the Eclipse Indexer- which enables you to browse the source, get code-completion tips, etc. Sometimes these two can get out-of-sync; eg, you can have code that builds correctly, but still get "errors" from the Indexer because it is not correctly seeing everything.

    There is an option on the Project Context Menu to rebuild the indexes. Closing & restarting Eclipse may also help...

Reply Children
No Data
Related