Re: [Anjuta-list] location of header files



Hello,

David T Farning wrote:

>I am attempting to use anjuta to build a shared library.  In everything
>I have done to previously I have just left the *.h's in src/ allowing
>
>#include "someName.h"
>
>to work correctly.
>
>Now, I need to move all the *.h's to include/ so that the headers are
>correctly installed in
>
>/usr/local/include/ 
>
>Now, if I remove the *.h's from src/ 
>
>#include "someName.h" doesn't work.
>
>  
>
If you move an include to the system's include directory it must not be

#include "someName.h"

but

#include <someName.h> !!

Try it!

Regards,

Martin

-- 
Get my public GPG key from pgp.mit.edu or wwwkeys.pgp.net - Key ID: 0x44085D12
--
Homepage: http://mwegner.de.ms/
Powered by Gentoo Linux (http://www.gentoo.org/)

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]