today compilation cancelled whith next diag
/usr/bin/ld: /usr/lib/libIlmCtl.a(CtlType.cpp.o): в функции «Ctl::DatatypeExc::DatatypeExc(char const*, ...)»:
(.text._ZN3Ctl11DatatypeExcC2EPKcz[_ZN3Ctl11DatatypeExcC5EPKcz]+0xf6): undefined reference to Iex_3_2::BaseExc::~BaseExc()'
/usr/bin/ld: /usr/lib/libIlmCtl.a(CtlType.cpp.o):(.data.rel.ro._ZTVN3Ctl11DatatypeExcE[_ZTVN3Ctl11DatatypeExcE]+0x20): undefined reference toIex_3_2::BaseExc::what() const'
I can confirm that rebuilding ctl fixes the mentioned linker issues.
Thanks for that find, @patrakov!
The linker error comes not from art-rawconverter itself, but from a static library provided by one of its dependencies, ctl. Rebuild ctl, then art-rawconverter, and there will be no error.
I'm using Arch Linux.
Full log is too big.
From first mrssages:
-- Checking for module 'OpenEXR>=3'
-- Found OpenEXR, version 3.3.3
кусок лога компиляции:
/usr/bin/ld: (.text.unlikely+0x276): undefined reference to Iex_3_2::ArgExc::~ArgExc()'
/usr/bin/ld: (.text.unlikely+0x27d): undefined reference totypeinfo for Iex_3_2::ArgExc'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdXContext.cpp.o): в функции «Ctl::SimdStack::ownerFpRelative(int) const [clone .cold]»:
(.text.unlikely+0x2c5): undefined reference to Iex_3_2::ArgExc::ArgExc(char const*)'
/usr/bin/ld: (.text.unlikely+0x2cc): undefined reference toIex_3_2::ArgExc::~ArgExc()'
/usr/bin/ld: (.text.unlikely+0x2d3): undefined reference to typeinfo for Iex_3_2::ArgExc'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdXContext.cpp.o):(.data.rel.ro._ZTVN3Ctl10MaxInstExcE[_ZTVN3Ctl10MaxInstExcE]+0x20): undefined reference toIex_3_2::BaseExc::what() const'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdXContext.cpp.o):(.data.rel.ro._ZTVN3Ctl8AbortExcE[_ZTVN3Ctl8AbortExcE]+0x20): undefined reference to Iex_3_2::BaseExc::what() const'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdXContext.cpp.o):(.data.rel.ro._ZTVN3Ctl17StackUnderflowExcE[_ZTVN3Ctl17StackUnderflowExcE]+0x20): undefined reference toIex_3_2::BaseExc::what() const'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdXContext.cpp.o):(.data.rel.ro._ZTVN3Ctl16StackOverflowExcE[_ZTVN3Ctl16StackOverflowExcE]+0x20): undefined reference to Iex_3_2::BaseExc::what() const'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdXContext.cpp.o):(.data.rel.ro._ZTVN3Ctl13StackLogicExcE[_ZTVN3Ctl13StackLogicExcE]+0x20): undefined reference toIex_3_2::BaseExc::what() const'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdFunctionCall.cpp.o): в функции «Ctl::SimdFunctionCall::callFunction(unsigned long) [clone .cold]»:
(.text.unlikely+0x1a): undefined reference to Iex_3_2::TypeExc::TypeExc(std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&)'
/usr/bin/ld: (.text.unlikely+0x30): undefined reference toIex_3_2::TypeExc::~TypeExc()'
/usr/bin/ld: (.text.unlikely+0x37): undefined reference to typeinfo for Iex_3_2::TypeExc'
/usr/bin/ld: (.text.unlikely+0x5e): undefined reference toIex_3_2::TypeExc::TypeExc(std::__cxx11::basic_stringstream<char, std::char_traits\<char>, std::allocator\<char> >&)'
/usr/bin/ld: (.text.unlikely+0x230): undefined reference to Iex_3_2::TypeExc::~TypeExc()'
/usr/bin/ld: (.text.unlikely+0x237): undefined reference totypeinfo for Iex_3_2::TypeExc'
/usr/bin/ld: /usr/lib/libIlmCtlSimd.a(CtlSimdInst.cpp.o): в функции «Ctl::SimdInst::executePath(Ctl::SimdBoolMask&, Ctl::SimdXContext&) const [clone .cold]»:
(.text.unlikely+0x2c5): undefined reference to Iex_3_2::BaseExc::BaseExc(std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&)'
/usr/bin/ld: (.text.unlikely+0x2df): undefined reference toIex_3_2::BaseExc::~BaseExc()'
/usr/bin/ld: (.text.unlikely+0x2e6): undefined reference to typeinfo for Iex_3_2::BaseExc'
/usr/bin/ld: (.text.unlikely+0x394): undefined reference toIex_3_2::BaseExc::assign(std::__cxx11::basic_stringstream<char, std::char_traits\<char>, std::allocator\<char> >&)'
/usr/bin/ld: (.text.unlikely+0x3b7): undefined reference to `
I cannot reproduce this on my system.
What distro are you running? is the system up-to-date?
Additionally please provide the full build log.
More precisely:
/usr/bin/ld: (.text.unlikely+0x2c): undefined reference to `Iex_3_2::TypeExc::~TypeExc()'
make cannot find Iex.3.2. Arch can't find this pacet too.
I get a
CMake Error at CMakeLists.txt:47 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
A simple workaround is CMAKE_POLICY_VERSION_MINIMUM=3.5 yay -S art-rawconverter