openexr-3.0
Issue description
[Describe the problem you have found. If you have a compile error or test errors please copy the relevant output or attach the compile/test log output]
Compilation fails with openexr 3.0.1 due to missing definition and libraries. No errors with -DJPEGXL_ENABLE_OPENEXR:BOOL='false'
[ 48%] Building CXX object lib/CMakeFiles/jxl_extras-static.dir/extras/codec_exr.cc.o
/home/coffee/.cache/yay/libjpeg-xl/src/jpeg-xl/lib/extras/codec_exr.cc:93:12: error: no type named 'Int64' in namespace 'Imf'
OpenEXR::Int64 tellg() override { return pos_; }
~~~~~~~~~^
/home/coffee/.cache/yay/libjpeg-xl/src/jpeg-xl/lib/extras/codec_exr.cc:94:29: error: no type named 'Int64' in namespace 'Imf'
void seekg(const OpenEXR::Int64 pos) override {
~~~~~~~~~^
/home/coffee/.cache/yay/libjpeg-xl/src/jpeg-xl/lib/extras/codec_exr.cc:118:12: error: no type named 'Int64' in namespace 'Imf'
OpenEXR::Int64 tellp() override { return pos_; }
~~~~~~~~~^
/home/coffee/.cache/yay/libjpeg-xl/src/jpeg-xl/lib/extras/codec_exr.cc:119:29: error: no type named 'Int64' in namespace 'Imf'
void seekp(const OpenEXR::Int64 pos) override {
~~~~~~~~~^
/home/coffee/.cache/yay/libjpeg-xl/src/jpeg-xl/lib/extras/codec_exr.cc:142:19: error: variable type 'jxl::(anonymous namespace)::InMemoryIStream' is an abstract class
InMemoryIStream is(bytes);
^
/usr/include/OpenEXR/ImfIO.h:82:22: note: unimplemented pure virtual method 'tellg' in 'InMemoryIStream'
virtual uint64_t tellg () = 0;
^
/usr/include/OpenEXR/ImfIO.h:90:18: note: unimplemented pure virtual method 'seekg' in 'InMemoryIStream'
virtual void seekg (uint64_t pos) = 0;
^
/home/coffee/.cache/yay/libjpeg-xl/src/jpeg-xl/lib/extras/codec_exr.cc:297:21: error: variable type 'jxl::(anonymous namespace)::InMemoryOStream' is an abstract class
InMemoryOStream os(bytes);
^
/usr/include/OpenEXR/ImfIO.h:154:22: note: unimplemented pure virtual method 'tellp' in 'InMemoryOStream'
virtual uint64_t tellp () = 0;
^
/usr/include/OpenEXR/ImfIO.h:162:18: note: unimplemented pure virtual method 'seekp' in 'InMemoryOStream'
virtual void seekp (uint64_t pos) = 0;
^
6 errors generated.
make[2]: *** [lib/CMakeFiles/jxl_extras-static.dir/build.make:202: lib/CMakeFiles/jxl_extras-static.dir/extras/codec_exr.cc.o] Error 1
make[2]: Leaving directory '/home/coffee/.cache/yay/libjpeg-xl/src/build'
make[1]: *** [CMakeFiles/Makefile2:1996: lib/CMakeFiles/jxl_extras-static.dir/all] Error 2
make[1]: Leaving directory '/home/coffee/.cache/yay/libjpeg-xl/src/build'
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/home/coffee/.cache/yay/libjpeg-xl/src/build'
==> ERROR: A failure occurred in build().
Aborting...
error making: libjpeg-xl
Environment
Operating System: [Linux (distribution/version?) / Windows (version?) / MacOS (version?)]
Arch Linux
JPEG XL software version: [git SHA checkout / release .zip/.tar.gz file downloaded]
0.3.7
Compilation: [command used to compile the program]
Used the PKGBUILD from Arch Linux: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libjpeg-xl
CPU / architecture / device: [example: "Intel i7-8650U" or "RPi 4"]
Intel 6700K