openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] include files in Linux


From: Drew Hess
Subject: Re: [Openexr-devel] include files in Linux
Date: Thu, 16 Jun 2005 15:22:27 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)

Gernot Ziegler <address@hidden> writes:

> Hej !
>
> There are some slight problems with including/linking with OpenEXR in my
> own programs:
> It both requires /usr/include and /usr/include/OpenEXR as the include
> files refer among themselves without any prefix, but for clarity in my
> programs, I would like to use
> #include <OpenEXR/Imf....>
>
> It would also be great if there was a tool like "openexr-config" that
> generates the right g++ flags, e.g.
> # openexr-config --cflags
> -I/usr/include/OpenEXR
>
> # openexr-config --libs
>
> or generates appropiate config files for pkgconfig.


OpenEXR already come with a pkgconfig .pc file:

$ pkg-config OpenEXR --cflags
-I/usr/include/OpenEXR  

$ pkg-config OpenEXR --libs
-lIlmImf -lImath -lHalf -lIex -lz  


d

Attachment: pgprkLh3jbsYG.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]