Help with cross compiling needed

theflow theflow69 at
Fri Dec 20 22:49:49 UTC 2013

On 20.12.2013 19:06, Lubomir I. Ivanov wrote:
> On 20 December 2013 14:05, Lubomir I. Ivanov <neolit123 at> wrote:
>> On 20 December 2013 08:48, theflow <theflow69 at> wrote:
>>> Hi everyone,
>>> I've been following your project for a couple of weeks now and love it.
>>> Thank you all so much for the hard work you have put into this!
>>> I would really like to help by testing for Windows. I've set up a VM of
>>> Fedora 19 to cross compile.
>>> Building for Fedora its self seems to work fine. I was also able to compile
>>> libdivecomputer with mingw.
>>> But I just can't get marble to compile with mingw. I must admit that I'm a
>>> complete Linux noob so I'm assuming that my problem results from a lack of
>>> simple knowledge... Sorry about that ;-)
>>> I get the following:
>>> [sub at localhost build]$ mingw32-make -j1 >>loggingMarble2
>>> /bin/sh: windres: command not found
>>> make[2]: *** [src/marble_res.o] Error 127
>>> make[1]: *** [src/CMakeFiles/marble-qt.dir/all] Error 2
>>> make: *** [all] Error 2
>>> I've linked more detailed outputs and my installed packages below.
>> hello,
>> i do see a '/usr/bin/i686-w64-mingw32-windres' here:
>> so, perhaps you could try creating a symlink '/bin/windres' that
>> points to that file.
> or rather /usr/bin/windres
> lubomir
> --

Thanks Lubomir!

That worked. I knew it was my "noobness"... Again sorry for that, but 
there's more ;-)
It still doesn't go through, now I get the following:

[sub at localhost build]$ mingw32-make -j1 >logfile
warning: unused parameter 'parser' [-Wunused-parameter]
  GeoNode* KmlFlyToTagHandler::parse( GeoParser& parser ) const
/bin/sh: /home/sub/src/marble/build/src/tilecreator/tilecreator.exe: 
cannot execute binary file
make[2]: *** [src/tilecreator/tilecreator.exe] Error 126
make[1]: *** [src/tilecreator/CMakeFiles/tilecreator.dir/all] Error 2
make: *** [all] Error 2

the "logfile" is here:

I just don't get it...

Thanks again!

More information about the subsurface mailing list