openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] [Oiio-dev] Possible missing IMF_EXPORT in OpenEXR v2


From: Alan Jones
Subject: Re: [Openexr-devel] [Oiio-dev] Possible missing IMF_EXPORT in OpenEXR v2.1.0 for using with OIIO v1.4 ....
Date: Thu, 5 Jun 2014 09:09:42 -0700

I noticed the same thing, but it seemed from looking at openexr that this is supposed to be an internal function. I may have been misinterpreting the source though.

Cheers,

Alan

On Jun 5, 2014 4:26 AM, "Simon Smith" <address@hidden> wrote:
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


_______________________________________________
Oiio-dev mailing list
address@hidden
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org


reply via email to

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