Possible missing IMF_EXPORT in OpenEXR v2.1.0 for using with OIIO v1.4 ....

Simon Smith <simon-XGbL/[email protected]>
Newsgroups gmane.comp.lib.openimageio.devel,gmane.comp.video.openexr.devel
Message-ID <[email protected]>
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
www.hdrlightstudio.com

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.