Hello, I did a fresh install of Xubuntu 24.04 last week but now I have a problem compiling ART.
First I configure this way:
cd ~/apps/art && cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_TCMALLOC="OFF"
-DENABLE_LIBRAW="ON" -DENABLE_MIMALLOC="ON" -DENABLE_OCIO="True" -DENABLE_CTL="True" -DCTL_INCLUDE_DIR=/usr/local/include/CTL
Output:
-- CMAKE_BUILD_TYPE: Release
-- searching for library exiv2 in /usr/lib/x86_64-linux-gnu
-- result: /usr/lib/x86_64-linux-gnu/libexiv2.so
-- searching for library lensfun in /usr/lib/x86_64-linux-gnu
-- result: /usr/lib/x86_64-linux-gnu/liblensfun.so
-- using mimalloc library 1.8
-- using libraw library 0.21.2
-- using OpenColorIO library 2.4.0
-- CTL lib found with headers at /usr/local/include/CTL
-- Found CTL interpreter, version 1
-- Configuring done (0.1s)
-- Generating done (0.1s)
-- Build files have been written to: /home/paul/apps/art
OpenColorIO is there as are the CTL lib and interpreter. So everything seems fine.
Now I do a $ sudo make -j5 install and the build process starts, up to 100% but then some errors occur:
[ 99%] Building CXX object rtgui/CMakeFiles/art.dir/thumbimgcache.cc.o
[100%] Building CXX object rtgui/CMakeFiles/art.dir/clutparamspanel.cc.o
[100%] Linking CXX executable ART
/usr/bin/ld: ../rtengine/librtengine.a(clutstore.cc.o): in function `rtengine::CLUTStore::getOCIOLut(Glib::ustring const&) const':
clutstore.cc:(.text+0x6f6d): undefined reference to `OpenColorIO_v2_1::Config::CreateRaw()'
/usr/bin/ld: clutstore.cc:(.text+0x6f7a): undefined reference to `OpenColorIO_v2_1::FileTransform::Create()'
/usr/bin/ld: clutstore.cc:(.text+0x75e6): undefined reference to `OpenColorIO_v2_1::FileTransform::setSrc(char const*)'
/usr/bin/ld: clutstore.cc:(.text+0x75f8): undefined reference to `OpenColorIO_v2_1::FileTransform::setInterpolation(OpenColorIO_v2_1::Interpolation)'
/usr/bin/ld: clutstore.cc:(.text+0x763e): undefined reference to `OpenColorIO_v2_1::Config::getProcessor(std::shared_ptr<OpenColorIO_v2_1::Transform const> const&) const'
/usr/bin/ld: ../rtengine/librtengine.a(clutstore.cc.o): in function `rtengine::CLUTApplication::OCIO_init()':
clutstore.cc:(.text+0x7ee9): undefined reference to `OpenColorIO_v2_1::Processor::getOptimizedCPUProcessor(OpenColorIO_v2_1::BitDepth, OpenColorIO_v2_1::BitDepth, OpenColorIO_v2_1::OptimizationFlags) const'
/usr/bin/ld: ../rtengine/librtengine.a(clutstore.cc.o): in function `rtengine::CLUTApplication::OCIO_apply(int, float*, float*, float*)':
clutstore.cc:(.text._ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_[_ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_]+0x4b9): undefined reference to `OpenColorIO_v2_1::PackedImageDesc::PackedImageDesc(void*, long, long, long)'
/usr/bin/ld: clutstore.cc:(.text._ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_[_ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_]+0x4c9): undefined reference to `OpenColorIO_v2_1::CPUProcessor::apply(OpenColorIO_v2_1::ImageDesc&) const'
/usr/bin/ld: clutstore.cc:(.text._ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_[_ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_]+0x90f): undefined reference to `OpenColorIO_v2_1::PackedImageDesc::~PackedImageDesc()'
/usr/bin/ld: clutstore.cc:(.text._ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_[_ZN8rtengine15CLUTApplication10OCIO_applyEiPfS1_S1_]+0x107a): undefined reference to `OpenColorIO_v2_1::PackedImageDesc::~PackedImageDesc()'
collect2: error: ld returned 1 exit status
make[2]: *** [rtgui/CMakeFiles/art.dir/build.make:2615: rtgui/ART] Fout 1
make[1]: *** [CMakeFiles/Makefile2:191: rtgui/CMakeFiles/art.dir/all] Fout 2
make: *** [Makefile:136: all] Fout 2
I’ve no idea what to do now, any help is much appreciated.
TIA,
Paul.