Problem compiling RT

Hi,
Few days ago, I’ve encountered a problem in compiling RT the automatic way.

$ ./build-rawtherapee

Program name: rawtherapee
Build type: release
Build without updating: false

-- CMAKE_BUILD_TYPE: release
-- Checking for module 'exiv2>=0.24'
--   No package 'exiv2' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
  CMakeLists.txt:502 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/karl/programs/code-rawtherapee/build/CMakeFiles/CMakeOutput.log".
See also "/home/karl/programs/code-rawtherapee/build/CMakeFiles/CMakeError.log".

I’ve already updated exiv2 to version 0.27.3 :cry:
Is there a trick ?

Operating system?

The path names look like some kind of Linux what I have almost no idea of :upside_down_face:

Depending on your distro, you need to install either exiv2-devel or libexiv2-dev, or some such.

2 Likes

Thanks a lot!
You saved my day :wink:
I’m on Debian bullseye.
I’ve installed libexiv2-dev 0.27.3-3+deb11u2.
The script now works like a charm!

1 Like