I tried to compile Rawtherapee on windows. But at this step
git clone git://github.com/Beep6581/RawTherapee.git
I get this message
fatal: unable to connect to github.com: github.com[0: 140.82.121.3]: errno=Connection timed out.
It seems that more updates are needed, now I’m stucked at
cmake -G “Ninja” -DLENSFUNDBDIR=~/libiptcdata-1.0.4 -DCMAKE_BUILD_TYPE=“release” -DPROC_TARGET_NUMBER=“2” -DCACHE_NAME_SUFFIX=“5-dev” …
It gives
CMake Warning:
Ignoring extra path from command line:
“…”
and
CMake Error: The source directory “C:/msys64/home/kurts” does not appear to contain MakeLists.txt.
Actual directory is ~/build.
I’m not a C++ specialist , my few knowledges in C# and Free Pascal don’t help me here.
First of all, this has nothing to do with C++ as you’re still stuck at setting up the build system. There are two problems here:
Three dots (...) at the end of the cmake command are wrong. Try two. They denote the parent directory.
~/build might be wrong or is a consecutive error. Lets assume you use ~/build as your source directory for all kind of programs. Then cd into that directory and clone RT into this. cd into that clone (your current directory is now something like ~/build/rawtherapee. Now, create a directory for building there, i.e. mkdir build, and cd into it. You’re now at ~/build/rawtherapee/build. Run your cmake command here, so that .. points to the source directory of RT.
O, mio stupido!
After cloning I left out “cd RawTherapee”.
But now it stops at
– Checking for module ‘exiv2>=0.24’
– Package ‘exiv2’, required by ‘virtual:world’, not found
Not sure which Linux distro you are using but on Debian it is called: libexiv2-dev. Installing exiv2 on its own isn’t enough, you also need that development package.
I try to compile on Windows, using the instructions from rawpedia.
Are there other packeges need to be installed?
And … how to?
Sorry for asking perhaps stupid questions, I thought the instruction would be complete. But now I’ve started and I want to complete it.
Did you carefully followed the instructions from the beginning?
Did you installed MSys2 and all dependencies as it is described?
If you build with msvc, you will have to help yourself.
Edit: I used to maintain this part a few years ago, but there were since this time some evolutions.
Exiv2 is used to manage image metadata, so I think it won’t be handled by Msys2.
The compilation on Linux (I use Manjaro) was really easy if you use the automatic way. But the instructions for Windows seem to be a bit outdated (apologies if 'm wrong). I am not a developer myself (just QA with a background of programming) and I hoped after installing MSys2 (as it is described) compiling would be analog to Linux.
What I meant was, that configuring MSys2 would not install all needed dependencies automatically.
So, the package libexiv2-dev is missing as Jade wrote - and which is right one (there are 6 mentioned in Msys2) and how to install it?
Your last sentence gave me a hint. What I found out:
For Arch/Manjaro there is a command
“pacman -S cmake ninja exiv2…”
The referring command for Windows doesn’t contain an entry for exiv2. After “pacman -S mingw-w64-x86_64-exiv2” (I hope that was the right one) the compilation worked, with some warnings.
But Rawtherapee could not be started, because all dlls in the install dir where missing. I copied them from the appimage (from Lawrence37) and Rawtherapee started.
I will have a closer look at it tomorrow.
I just did it again on my main PC, and the last thing to mention is the list of files to be copied.
Compared to the above mentioned appimage, there is at least a new version of a dll, maybe others new or obsolete (I haven’t compared it, just did the self copy as before), and other files/structure for Adwaita.