OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

Update OpenImageIO recommended version to 3.x

Open remia opened this issue 9 months ago • 1 comments

When building OpenColorIO with OCIO_USE_OIIO_FOR_APPS=ON and relying on the system OpenImageIO, the current build scripts will not pick OIIO version 3 even though the minimum and recommended versions are 2.2 and 2.4. I believe this is due to the major version bump and CMake not matching versions across major increments in this case for compatibility reasons. As part of OpenColorIO 2.5 dependencies version overhaul I'm proposing to update the recommended version to 3.x.

remia avatar Mar 10 '25 18:03 remia

OCIO may not currently build with OIIO 3.0. As provided by Remi on Slack, the workaround is to modify this file: https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/main/share/cmake/modules/FindExtPackages.cmake#L194

Change this: set(OIIO_RECOMMENDED_VERSION "2.4") to this: set(OIIO_RECOMMENDED_VERSION "3.0")

doug-walker avatar Apr 04 '25 16:04 doug-walker

Implemented in PR #2192.

doug-walker avatar Oct 01 '25 19:10 doug-walker