I’m not able to build RT on Windows anymore. Can you please advise me what needs to be changed in the building environment in order to compile RT? I guess the changes are mostly related to Gtk3.
Dear Ingo,
I don’t know if you’re still here. Do you remember the bug I reported about 2 months ago? The purple highlight problem can be corrected by turning on highlight reconstruction. Is this the fix I should expect?
Start by deleting your whole build environment and removing any leftover environment variables. Once and only once you have done that, then follow this guide: http://rawpedia.rawtherapee.com/Windows
If you still run into issues, provide a complete log of what you did and what the error is.
Windows guide should be updated for those, who not so familiar with compiling, for example when compiling libiptcdata, config.sub and config.guess are outdated, or entering command cmake -G “MSYS Makefiles” (…) just CMake Error: Could not create named generator MSYS Makefiles error appears. So some steps for compiling dummies needed
@vilmantasr If you want useful answers and improvement of tutorial, you must provide precise and documented information about all your problems.
In following answers I try to guess what are your issues.
First, at beginning of tutorial, it is said :“Then run the following commands using either MinGW-w64 Win32 Shell or MinGW-w64 Win64 Shell depending on whether you want to build a 32-bit or a 64-bit version.” .
For parctical use create a shortcut to “Msys-install-dir/mingwxx_shell.bat” xx=32 or 64. It automatically opens the mingw shell window.
All installation and build commands must be done inside the mingw shell window.
second : suppress all previous mingw, msys, git, hg, cmake installations and related windows environment variables.
libiptcdata : I suppose you had problems with nano editor. don’t close mingw shell window. Outside of mingw shell window use your favorite editor to make the modifications required. Then resume in mingw shell window.
config.sub and config.guess ???
Cmake error :Are all previous steps successfull? where are you entering this command !?
.[quote=“Morgan_Hardwood said, post:2, topic:722”]
If you still run into issues, provide a complete log of what you did and what the error is.
[/quote]
@vilmantasr hi. I don’t use Windows and I don’t run that Windows article. If something is unclear you must describe the problem clearly (I have no idea what you mean), you must be sure that you followed the guide and the problem does not arise from a mistake you made, and once those two points are satisfied then either report it here or preferably at GitHub https://github.com/Beep6581/RawTherapee/issues/new
And please report things clearly, one point at a time. Don’t mix more than one issue into a paragraph, let alone a sentence.
Could you please advise me how to install GTK+2.12? I believe I already have gtk2 2.24.28-1 and gtkmm 2.24.4-3 installed. What else do I need here?
Secondly, since I was not able to compile Clearlooks, I skipped that step and downloaded gtk3 branch. However, when I ran the cmake command for RT, it complained
CMake Error: Could not create named generator MSYS Makefiles
Can you also please advise me how to fix this issue?
In following answers I try to guess what are your issues.
I suppose you are setting up a 64 bit environment.
You have to verify that you installed 64 bit gtkmm2 and GTKMM3 packages :
pacman -Q mingw-w64-x86_64-gtkmm mingw-w64-x86_64-gtkmm3.
if not installed, reinstall.
Verify also your installation of lcms2 and FFTWF
Generally make sure that all installation steps for your 64 bit setup are complete.
This time again, you do not provide a lot of information. You have to use a mingw64 shell window to build.
It turned out all the problems were related to a stupid mistake I made. Instead of starting “MinGW-w64 Win64 Shell” I started “MSYS shell”.
By running “MinGW-w64 Win64 Shell”, almost everything went out smoothly.
A minor issue I encountered was the spaces in the names of the folders. It looks like to me some of the scripts are not able to handle the spaces in the folder name and reported errors. In order to avoid the errors, the names of the folders used in the process should not contain spaces.
I have one more questions about the executable I compiled.** How do I make the console window go away?**