|
|
|
Re: Eclipse including Libs in a project [message #1732322 is a reply to message #1732312] |
Sun, 15 May 2016 20:49 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Quote:So according to your assumption it should work so far
What assumption might that be?
Your paths are in Project --> Properties --> C/C++ General --> Preprocessor and Symbols. I said it MAY work and apparently for you it doesn't.
Eclipse documentation is rather vague and doesn't really state the purpose of the page or why there are two different pages with essentially the same content.
I think this is the page for displaying the old Discovery results. Mine is completely empty for all projects.
Discovery has been deprecated as of CDT 8.1 and superseded by "Preprocessor Include Paths, Macros etc."
according to: https://wiki.eclipse.org/CDT/User/FAQ#What_is_a_Scanner_Discovery.3F
This is the one that I use and I haven't had any problems with the Indexer.
It looks like you have Discovery enabled. I never use it as it seems to cause endless problems.
How did you end up with this project? Did you build it yourself or did you copy it from somewhere? If the latter, maybe it was for an older version of Eclipse?
A lot also depends on versions.
If you listed them, I missed it.
Use the latest version of Eclipse and CDT. (Neon is the newest. I'm using Mars.1)
Try making a new project from scratch and import the files into it.
Don't import the old .project and .cproject files.
Don't enable discovery and use the Preprocessor Include Paths, Macros etc for your include settings.
[Updated on: Sun, 15 May 2016 21:44] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04068 seconds