-
Notifications
You must be signed in to change notification settings - Fork 643
Open
Labels
build / testing / port / CIAffecting the build system, tests, platform support, porting, or continuous integration.Affecting the build system, tests, platform support, porting, or continuous integration.file formatsImage file formats, ImageInput, ImageOutputImage file formats, ImageInput, ImageOutput
Description
I have encountered the HEIF library configuration error on Nobara 41 (and the same error on Fedora Linux 41)
·• git clone --recurse-submodules --verbose [email protected]:AcademySoftwareFoundation/OpenImageIO.git
Cloning into 'OpenImageIO'...
remote: Enumerating objects: 79072, done.
remote: Counting objects: 100% (297/297), done.
remote: Compressing objects: 100% (126/126), done.
remote: Total 79072 (delta 250), reused 171 (delta 171), pack-reused 78775 (from 3)
Receiving objects: 100% (79072/79072), 185.31 MiB | 6.83 MiB/s, done.
Resolving deltas: 100% (56806/56806), done.
░▒▓ …/src/github.com/AcademySoftwareFoundation ▓▒░ ◦•····················································································································································•◦ ░▒▓ 31s677ms ▓▒░
··• cd OpenImageIO/
░▒▓ …/OpenImageIO main ▓▒░ ◦•··············································································································································································•◦ ░▒▓ 4ms ▓▒░
··• ls
ASWF CODE_OF_CONDUCT.md CONTRIBUTING.md docs CHANGES.md LICENSE.md pyproject.toml RELICENSING.md sonar-project.properties testsuite
CMakeLists.txt conanfile.txt CREDITS.md GOVERNANCE.md INSTALL.md Makefile README.md SECURITY.md src THIRD-PARTY.md
░▒▓ …/OpenImageIO main ▓▒░ ◦•··············································································································································································•◦ ░▒▓ 5ms ▓▒░
··• make
-- The CXX compiler identification is GNU 14.2.1
-- The C compiler identification is GNU 14.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib64/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring OpenImageIO 3.1.1.0
-- CMake 3.30.8
-- CMake system = Linux-6.14.3-200.nobara.fc41.x86_64
-- CMake system name = Linux
-- Project source dir = /usr/src/github.com/AcademySoftwareFoundation/OpenImageIO
-- Project build dir = /usr/src/github.com/AcademySoftwareFoundation/OpenImageIO/build
-- Project install prefix = /usr/src/github.com/AcademySoftwareFoundation/OpenImageIO/dist
-- Configuration types =
-- Build type = Release
-- Supported release = OFF
-- CMAKE_UNITY_BUILD_MODE =
-- CMAKE_UNITY_BUILD_BATCH_SIZE =
-- Outer namespace PROJ_OUTER_NAMESPACE: OpenImageIO
-- Inner namespace PROJ_VERSION_NAMESPACE: v3_1_1
-- Joint namespace PROJ_NAMESPACE_V: OpenImageIO_v3_1_1
-- CMAKE_CXX_COMPILER = /usr/lib64/ccache/c++
-- CMAKE_CXX_COMPILER_ID = GNU
-- Building with C++17, downstream minimum C++17
-- Compiling with SIMD level
-- clang-format found: /usr/bin/clang-format
--
-- * Checking for dependencies...
-- * - Missing a dependency 'Package'?
-- * Try cmake -DPackage_ROOT=path or set environment var Package_ROOT=path
-- * For many dependencies, we supply src/build-scripts/build_Package.bash
-- * - To exclude an optional dependency (even if found),
-- * -DUSE_Package=OFF or set environment var USE_Package=OFF
--
-- Found ZLIB 1.3.1
-- Found Imath 3.1.12
-- Found OpenEXR 3.2.4
-- Found libjpeg-turbo 3.0.2
-- libuhdr library not found
-- Try setting libuhdr_ROOT ?
-- Found TIFF 4.6.0
-- Found JXL 0.10.4
-- Using internal PugiXML
-- Found Python3 3.13.2
-- Found pybind11 2.13.6
-- Found PNG 1.6.40
-- Found Freetype 2.13.3
-- Found OpenColorIO 2.3.2
-- Found OpenCV 4.10.0
-- Found TBB 2021.13.0 from CONFIG
-- Found DCMTK 3.6.7 from CONFIG
-- Found FFmpeg 7.0
-- Found GIF 5.2.2
CMake Error at src/cmake/modules/FindLibheif.cmake:34 (string):
string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
command.
Call Stack (most recent call first):
src/cmake/dependency_utils.cmake:379 (find_package)
src/cmake/externalpackages.cmake:165 (checked_find_package)
CMakeLists.txt:225 (include)
-- Found Libheif
CMake Error at src/cmake/dependency_utils.cmake:453 (if):
if given arguments:
"VERSION_LESS" "1.16"
Unknown arguments specified
Call Stack (most recent call first):
src/cmake/externalpackages.cmake:165 (checked_find_package)
CMakeLists.txt:225 (include)
-- Configuring incomplete, errors occurred!
make: *** [Makefile:231: config] Error 1
Metadata
Metadata
Assignees
Labels
build / testing / port / CIAffecting the build system, tests, platform support, porting, or continuous integration.Affecting the build system, tests, platform support, porting, or continuous integration.file formatsImage file formats, ImageInput, ImageOutputImage file formats, ImageInput, ImageOutput