|Re: "Unresolved inclusion" errors after installing MinGW and Mysys [message #932358 is a reply to message #932083]
||Thu, 04 October 2012 03:19
| Joost Kraaijeveld
Registered: July 2009
On 03/10/12 22:25, Nico Adams wrote:|
> I'm a new C++ programmer using Eclipse. Eclipse seems to recognize C++: It let me create a new C++ project
and understands the syntax. However, whenever I try to #include
anything, I get an "Unresolved include" error.
> I have CDT installed. I also just installed MinGW and MySys and set the path variables correctly.
> It looks like something's still missing from Eclipse though -- when I right click on my project and
go to "properties -> C/C++ build -> Settings" all I can access are the
"binary parsers" and "error parsers" tabs.
The window should look like the image I attached, but I can't see the
"tool settings", "build steps" or
"build artifact" tabs.
> That's all my research has turned up so far. What should I do next?
Is the unresolved error from the compiler or from Eclipse? I.e. does
your code compile and link and the resulting program run? If so, then
the problem is probably with the indexer or code analysis. If not, then
the problem is probably with the build settings or compiler installation.
If the problem is with the indexer/code analysis:
- check if the indexer is enables for you project
- reset the indexer options to default
- check if in the project properties, C/C++ General, Preprocessor
Include Paths, Macros etc. on the Entries tab the "enable language
settings providers for this project" is checked (enabled), and that on
the Providers tab the CDT GCC Builtin Compiler Settings [Shared] is
- build the project
- force a rebuild of the index by right clicking the project, index->rebuild
- you may disable all code analysis as is gives many false errors anyway
tel: 024-3888063 / 06-51855277
Powered by FUDForum
. Page generated in 0.02352 seconds