openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] Possible missing IMF_EXPORT in OpenEXR v2.1.0 for us


From: Sebastian Elsner
Subject: Re: [Openexr-devel] Possible missing IMF_EXPORT in OpenEXR v2.1.0 for using with OIIO v1.4 ....
Date: Thu, 05 Jun 2014 13:35:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

There are some long standing issues most of them resolved with pull requests (this particular one is not I think). But I do not know why Piotr is not merging any windows changes. Piotr can you please comment on this? I use the branch of Nicolas Yue (nyue), it worked good for me so far (the isDeepData is something I had to change, too). Maybe Nicolas wants to add this to his pull request.

On 06/05/2014 01:26 PM, Simon Smith 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



_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel


reply via email to

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