Help with cross compiling needed

Dirk Hohndel dirk at hohndel.org
Fri Dec 20 23:17:02 UTC 2013


Look at the Mac instructions and only run make in the src/lib directory. You don't need the tile creator. All you need is the library.

/D
---
From my phone

theflow <theflow69 at web.de> wrote:

>On 20.12.2013 19:06, Lubomir I. Ivanov wrote:
>> On 20 December 2013 14:05, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>>> On 20 December 2013 08:48, theflow <theflow69 at web.de> 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:
>>> http://rpm.pbone.net/index.php3/stat/4/idpl/24848582/dir/fedora_19/com/mingw32-binutils-2.23.52.0.1-1.fc19.i686.rpm.html
>>>
>>> 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
>/home/sub/src/marble/sources/src/lib/geodata/handlers/kml/KmlFlyToTagHandler.cpp:23:10: 
>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:
>http://tny.cz/4d6cf471
>
>I just don't get it...
>
>Thanks again!
>Flo
>
>
>
>
>
>
>
>_______________________________________________
>subsurface mailing list
>subsurface at hohndel.org
>http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface


More information about the subsurface mailing list