I am trying to compile RT (gtk2) for win64
everything is working fine and RT starts and works smoothly
but after preparing installation package I see console window
just in the moment of RT launch.
Mistakes are:
(rawtherapee.exe:5240): Gtk-WARNING **: Unable to locate theme engine in module_
path: “clearlooks”,
Thanx, I already understood and fix it.
But the console window is still visible after RT launch (so it is empty now).
I am definitely building release version with -DCMAKE_BUILD_TYPE=“Release”
but this window do not disappear. It’s annoying a little bit.
What is wrong with compilation ?
@viv I don’t remember how the console window is implemented in the Windows version. It could be that you have verbose=true in your options file. If you run rawtherapee.exe -w then the console window should not open.
Are you running a release build from sguyader?
@sguyader do your release builds open a console window intentionally? Is that needed?
–edit Scratch the above question. New question. Do you know how to disable the console window at compilation time?
I am running RT compiled by myself from git repository (master branch).
If I launch rawtherapee.exe with -w option, everything is OK - no console window.
(Verbose=false in my options file).
(Release build from sguyader starts with no window.)
On my machine rt built from source and rt from @sguyader use different options files (stored at different location for whatever reason). Maybe that’s the case here too?
Yes adding -DCMAKE_CXX_FLAGS=-mwindows in the cmake command line when building release version should do the job.
Note :There is in the root dir of RT local repository a “win.cmake” file that you can copy, adapt and use via -C option (see buildRT.bat)