LibRaw is merged into RawTherapee

Hello all,

Problem here when configuring RT, LibRaw related.

At the end of

cmake -DCMAKE_BUILD_TYPE=Release

I see this error msg:

-- Configuring LibRaw
'cp' '-p' '-R' '/home/paul/apps/rawtherapee/rtengine/libraw' '.'
cp: '/home/paul/apps/rawtherapee/rtengine/libraw' en './libraw' zijn hetzelfde bestand
CMake Error at rtengine/LibRaw.cmake:42 (message):
  Could not copy LibRaw files into build directory
Call Stack (most recent call first):
  rtengine/CMakeLists.txt:268 (include)

The second cp line reads “…/rtengine/libraw and ./libraw are the same file”

Then I did a “git clean -dxf” but with the same result.
Restarting from scratch (git pull etc.) also produced this error message.

Any ideas what to do now?

Edit. Xubuntu 24.04.

Update the next day. The build-rawtherapee script works, so no LibRaw problems.

It looks the web site corrupted my command by adding extra dot. Fixed the original commands format. It should be 2 dots at the end:

cmake -DCMAKE_BUILD_TYPE=Release ..

Hello,
I tried everything from here. I’m still stuck with the same error. I tried to copy the directory manually but I still get the error.
Ubuntu 24.04

Hello, no idea how to solve this, but I swichted to the build-rawtherapee script, that way no LibRaw problems.