openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] Possible missing IMF_EXPORT in OpenEXR v2.1.0 for using


From: Simon Smith
Subject: [Openexr-devel] Possible missing IMF_EXPORT in OpenEXR v2.1.0 for using with OIIO v1.4 ....
Date: Thu, 5 Jun 2014 12:26:39 +0100

Hi,

I've been compiling OpenEXR (v2.1.0) for Open Image IO (v1.4) and noticed that the isDeepData is not exported from the ilmimf libraries and thus is you have the OPENEXR_VERSION2=1 pre-processor set in OIIO, it will fail to link. (In case it makes any difference, i'm dynamically linking OpenEXR to OpenImageIO).

The solution was to add IMF_EXPORT (and a #import "ImfExport.h")to the isDeepData function signature.
(The others in the ImfChannelListAttribute.h file may also need this export as needed).

Not sure if this is intentional, or OIIO not using the OpenEXR library as intended, so thought I'd share it here …..

Best Regards,
   Simon

---
Simon C Smith
Co-Founder & CTO


reply via email to

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