[rkward-devel] Windows packaging

Prasenjit Kapat kapatp at gmail.com
Thu Oct 14 04:44:44 UTC 2010


On Wed, Oct 13, 2010 at 4:01 AM, Thomas Friedrichsmeier
<thomas.friedrichsmeier at ruhr-uni-bochum.de> wrote:
> Hi,
>
> On Wednesday 13 October 2010, Prasenjit Kapat wrote:
>
>> CMake Error at
>> D:/RKWard_devel/KDE4/cmake/modules/FindKDE4Internal.cmake:485 (include):
>>   include could not find load file:
>>
>>     D:/RKWard_devel/KDE4/cmake/modules/KDELibsDependencies.cmake
> [...]
>
> Strange. I have FindKDE4Internal.cmake at [KDE]/share/apps/cmake/modules. This
> is also where those failed includes are on my system.
>
> Could you try adding
>  -DKDE4_DATA_DIR=D:/RKWard_devel/KDE4/share/apps
> to the cmake options?

Adding DKDE4_DATA_DIR solved the cmake errors, didn't have to do the
following hack:

> (And move the contents of [KDE]/cmake/modules into
> [KDE]/share/apps/cmake/modules.)

The cmake process went fine, almost. Here is the last error:

[ 99%] Building CXX object rkward/CMakeFiles/rkward.bin.dir/rkconsole.obj
In file included from D:\RKWard_devel\KDE4\include/kio/jobclasses.h:30:0,
                 from D:\RKWard_devel\KDE4\include/kurlcompletion.h:27,
                 from D:\RKWard_devel\KDE4\include/kshellcompletion.h:26,
                 from
D:\RKWard_devel\release_branch_0.5.4\rkward\rkconsole.cpp:38:
D:\RKWard_devel\KDE4\include/kio/global.h:39:27: warning: type
attributes ignored after type is already defined
[ 99%] Building CXX object
rkward/CMakeFiles/rkward.bin.dir/rkwardapplication.obj
D:\RKWard_devel\release_branch_0.5.4\rkward\rkwardapplication.cpp:42:2:
warning: #warning TODO: We could really use the
detection logic from windows for x11, too. It seems much easier.
mingw32-make[2]: *** No rule to make target `U:/lib/libkdewin.dll.a',
needed by `rkward/rkward.bin.exe'.  Stop.
mingw32-make[1]: *** [rkward/CMakeFiles/rkward.bin.dir/all] Error 2
mingw32-make: *** [all] Error 2

Is "U:/lib/..." hard coded somewhere?

-- 
Prasenjit




More information about the Rkward-devel mailing list