| header include path order [message #815565] |
Wed, 07 March 2012 15:31  |
Tex Twil Messages: 179 Registered: July 2009 |
Senior Member |
|
|
Hi,
in the configuration of my C project I've specified a custom include path which points to headers of OpenSSL. The problem that it is still the system headers from /usr/include which are used in the project and not the ones from my include path.

On this screenshot I've pressend F3 on a constant declared in pkcs7.h but as you can see on the top of the windows, Eclipse opened the file in /usr/share and not the one from my custom path:

What an I doing wrong ?
cheers
[Updated on: Thu, 08 March 2012 03:41] Report message to a moderator
|
|
|
| Re: header include path order [message #815975 is a reply to message #815565] |
Thu, 08 March 2012 04:21   |
Axel Mueller Messages: 1829 Registered: July 2009 |
Senior Member |
|
|
Did you specify the include path /usr/include/openssl in your Makefile or in the toolchain settings of Eclipse (you did no mention how you build your project)? It looks like you are using /usr/include/openssl for the compilation and Eclipse will scan your build output and add the path.
Is the include folder in your workspace a link to the system files?
Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08354 seconds