|
Re: Boost types cannot be resolved [message #1703506 is a reply to message #1703186] |
Sat, 01 August 2015 17:12 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
I'm no expert by my guess is the index needs rebuilt (right click on the project in the project explorer/navigator then select Index->Rebuild) and if that doesn't fix it then the include paths may need to be added to the project under "project->properties->C/C++ General->Processor include paths, macros, etc." or "project->propertie->C/C++ General->Paths and Symbols".
You could also explicitly place the definitions in the marked error code and surround it with
#ifdef __CDT_PARSER__
:
:
#endif
which will hide if from the compiler. Sometimes this appears to be the only way.
You might also look at how the indexer has been configured. There's too much detail to go into but I found that, for me, the cache limits were too small. The indexer options are under Window->Preferences->Indexer.
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_indexer_preference.html
Disabling Code Analysis might work too but I would find that unpalatable.
[Updated on: Sat, 01 August 2015 17:32] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03804 seconds