Description of problem: Attempting to #include OpenImageIO/imageio.h fails: In file included from /usr/include/OpenImageIO/fmath.h:40, from /usr/include/OpenImageIO/hash.h:31, from /usr/include/OpenImageIO/strutil.h:24, from /usr/include/OpenImageIO/typedesc.h:29, from /usr/include/OpenImageIO/attrdelegate.h:13, from /usr/include/OpenImageIO/paramlist.h:17, from /usr/include/OpenImageIO/imageio.h:34, from /home/dank/notcurses/src/media/oiio.cpp:5: /usr/include/OpenImageIO/Imath.h:21:13: fatal error: OpenEXR/ImathColor.h: No such file or directory 21 | # include <OpenEXR/ImathColor.h> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. The file is in Imath/, not OpenEXR/. It looks like Imath.h might be at fault: #if OIIO_USING_IMATH >= 3 # include <Imath/ImathColor.h> # include <Imath/ImathMatrix.h> # include <Imath/ImathVec.h> # include <Imath/half.h> #else # include <OpenEXR/ImathColor.h> # include <OpenEXR/ImathMatrix.h> # include <OpenEXR/ImathVec.h> # include <OpenEXR/half.h> #endif Rawhide is shipping OpenEXR 3, but we're using 2 according to this file. Version-Release number of selected component (if applicable): 2.2.16.0-2.fc35 How reproducible: Just install OpenEXR 3. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Unfortunately this was just very bad timing. I had started work on upgrading Rawhide to OpenEXR 3 and had already made a few commits when I had to halt for the f35 mass rebuild. I will clean up the mess but I'm on a family vacation for the week. My internet access is currently limited to my cell phone.
Managed an OK mobile internet connection to my home desktop and beat Field3D into shape which is what was preventing me from building OpenImageIO with OpenEXR 3. It should be fixed when this build makes it into Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=73030607
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35.
thanks richard! i can indeed once more build against OIIO in rawhide. question: in epel8, i'd like to build against OIIO, but i need c++17 and OpenEXR3 appears to have problems with c++17. i can kick off a fresh build if you'd like. have you seen this before, and do you have any suggestions?