ogre icon indicating copy to clipboard operation
ogre copied to clipboard

Ogre is incompatible with OpenEXR v3

Open etam opened this issue 2 years ago • 3 comments

OpenEXR had a v3 release with some major changes. For example:

  • The library is now called libOpenEXR (instead of libIlmImf).
  • The parts of "IlmBase" that were Imath and half are now repackaged as the Imath library.

References:

  • https://github.com/AcademySoftwareFoundation/openexr/blob/master/CHANGES.md#version-300-beta-march-16-2021
  • https://github.com/AcademySoftwareFoundation/Imath/blob/master/docs/PortingGuide2-3.md

etam avatar Sep 06 '21 07:09 etam

giving this a low priority, as we can also use OpenEXR via Freeimage.

Therefore, I even could see us staying at v2 indefinitely - but if you have a pressing concern to get v3 via the dedicated plugin, feel free to update it accordingly.

paroj avatar Sep 07 '21 08:09 paroj

giving this a low priority, as we can also use OpenEXR via Freeimage.

FreeImage needs OpenEXR-3 and imath-3 for its TIFF-plugin to work.

Therefore, I even could see us staying at v2 indefinitely - but if you have a pressing concern to get v3 via the dedicated plugin, feel free to update it accordingly.

FreeImage/Source/FreeImage/PluginEXR.cpp shows how to support both v2 and v3 without too much hassle. The build system simply uses pkgconf, but OpenEXR also includes cmake files.

Also why having a dedicated plugin when support is included via FreeImage anyway? What is the reason?

(No call to action, just asking.)

Yamakuzure avatar Nov 11 '22 07:11 Yamakuzure

Also why having a dedicated plugin when support is included via FreeImage anyway? What is the reason?

freeimage is just one option. If you go with STBI, you will need this to load exr. But I dont really know. Maybe there are no actual users of this plugin

paroj avatar Nov 11 '22 13:11 paroj