|
From: | J A |
Subject: | Re: [Openexr-devel] building C API app |
Date: | Wed, 13 Sep 2006 15:33:33 +1200 |
You can use pkg-config to get a list of the compiler flags and
libraries you need when linking against openexr. On my system (mac os
x, openexr 1.4.0 installed though darwinports) it returns:
pineapple:~/CVS/vips- 7.11 john$ pkg-config OpenEXR --cflags
-D_THREAD_SAFE -I/opt/local/include/OpenEXR
pineapple:~/CVS/vips-7.11 john$ pkg-config OpenEXR --libs
-L/opt/local/lib -lIlmImf -lImath -lHalf -lIex -lz
Your system will probably be different, of course. If you're using
autotools you can integrate this stuff automatically with
PKG_CHECK_MODULES.
John
[Prev in Thread] | Current Thread | [Next in Thread] |