KDE4 Cross compiling error

Patrick Spendrin ps_ml at gmx.de
Tue Dec 30 15:22:41 CET 2008


Thiago Macieira schrieb:
> Ben Boeckel wrote:
>> Hi,
>>
>> I am attempting to cross-compile my KDE4 application using mingw and I
>> get the following error from FindKDE4Internal.cmake:
>>
>> CMake Error at
>> /mnt/storage/kde4win/root/share/apps/cmake/modules/FindKDE4Internal.cmak
>> e:432 (message):
>>  Couldn't parse KDE version string from the kde4-config output:
>>
>>  sh: /mnt/storage/kde4win/root/bin/kde4-config.exe: cannot execute
>> binary
>>  file
>>
>> The problem is that kde4-config is used to get the version when it
>> can't since it's being cross compiled. How should this be handled
>> instead?
> 
> I don't know how much you know about this subject...
> 
> If you're simply someone who wants to cross-compile, note that cross-
> compiling is not supported yet.
> 
> If you want to work on having that supported, then you've come to the 
> right mailing list.
As Thiago said, it is not that easy.
You might find
http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/Cross-Compiling 
useful but be aware that this is not supported and that ~ 1-2 persons 
went this way before you.
You can report your findings to kde-windows at kde.org though or simply add 
them to the wiki.

regards,
Patrick
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem


-- 
web:                 http://windows.kde.org
mailing list:        kde-windows at kde.org
irc:                 #kde-windows (irc.freenode.net)


More information about the Kde-buildsystem mailing list