Re: Possible missing IMF_EXPORT in OpenEXR v2.1.0 for using with OIIO v1.4 ....
Alan Jones <[email protected]>
| Newsgroups | gmane.comp.lib.openimageio.devel,gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <CAJHSq1bhogpasVb8X=8L5s=tFO0CMBZy2WREGjdS9zOzDQ4d6g@mail.gmail.com> |
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" <simon-XGbL/[email protected]> 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 > www.hdrlightstudio.com > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org