openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] ImfCompressor


From: Peter Hillman
Subject: Re: [Openexr-devel] ImfCompressor
Date: Thu, 06 Jun 2013 13:19:30 +1200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

This looks a bit broken: ImfMisc.h and ImfB44Compressor.h were not intended to be installed.  However, the pixelTypeSize and numSamples functions in ImfMisc.h are useful enough to merit being in the public API. Maybe a future version should remove ImfB44Compressor.h and ImfMisc.h and shift those functions into other headers. Since trying to include ImfMisc.h currently causes compilation to fail, there should be little impact in this rearrangement.

Is it exrWriterDeep you are trying to compile? You may need help from The Foundry (or perhaps their nuke-devel list) getting that going: it seems to need internal nuke headers which I can't find. If you can get over that hurdle, removing #include<ImfMisc.h> and replacing calls to pixelTypeSize(FLOAT) and pixelTypeSize(HALF) with sizeof(float) and sizeof(half) respectively should get you a bit further.

Peter



On 06/06/13 07:03, Chip Collier wrote:
Hello everyone,

I'm trying to compile a Nuke plugin (shipped with Nuke in the NDK examples) which references ImfMisc.h which in turn references ImfCompressor.h... which is intentionally not installed according to the IlmImf/Makefile.am.

Could someone explain why that might be the case?

ImfMisc.h isn't the only file to directly include ImfCompressor.h that gets installed with the library. ImfB44Compressor.h would appear to be installed when it shouldn't. That's a guess anyway since there are other Imf*Compressor.h located in the source distribution of openexr 2 that are excluded from installation.

Any clarification would be much appreciated. :)


Cheers,
Chip


_______________________________________________
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]