[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-windows
Subject: Re: How to build a 3rd party kde-app on windows?
From: mehrdad momeny <mehrdad.momeny () gmail ! com>
Date: 2009-04-03 12:49:14
Message-ID: 479f3d5e0904030548p35df1664t15b3d9a7204918e9 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks for guid,
It passes that level!
But, fails at linking stage!
Here it is more info:
KDE install dir is C:\KDE (I installed part of it at C:\Program files\KDE
and after it, i moved the whole dir here and install some other pkgs.)
BTW the install dir is C:\KDE now! :D
Choqok src is at C:\choqok
Cmake command:
C:\choqok\build>cmake.exe -G "MinGW Makefiles" ..
-DCMAKE_INCLUDE_PATH=c:\kde\include -DCMAKE_LIBRARY_PATH=c:\kde\lib
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=c:\kde
Make Result:
C:\choqok\build>make
.
.
.
[ 96%] Building CXX object src/CMakeFiles/choqok.dir/account.obj
[100%] Building CXX object src/CMakeFiles/choqok.dir/settings.obj
make[2]: *** No rule to make target `D:/kde/kde-mingw/lib/libQtSvg4.a',
needed by `bin/choqok.exe'. Stop.
make[1]: *** [src/CMakeFiles/choqok.dir/all] Error 2
make: *** [all] Error 2
It seems that problem is that it try to find libraries at D:/kde/... but
there isn't such a dir and I set the lib dir (on cmake command) to
c:\kde\lib
And i don't remember any other place i set this! :-/
Thanks for helps :)
Mehrdad
On Fri, Apr 3, 2009 at 4:18 PM, Carlo <brandon.ml@gmail.com> wrote:
> 2009/4/3 Mehrdad Momeny <mehrdad.momeny@gmail.com>:
> >
> > On Jumee 14 Farvardin 1388 15:11:15 Carlo wrote:
> >> 2009/4/3 Mehrdad Momeny <mehrdad.momeny@gmail.com>:
> >> > Hi guys,
> >> > I want to build my KDE app for windows!
> >> > Already installed kdelibs(+dev), kdebase-apps and kdebase-runtime, ...
> >> > via KDE win installer.
> >> > My app is just depend on KDELibs, I think. (It's Choqok, A Microblog
> >> > client. src is at extragear/network)
> >> >
> >> > I check the tutorials, but can't find how should i do this!?
> >> >
> >> > Running Cmake on src dir says that can't find Compilers and I don't
> >> > think
> >> > how could i set for it. :(
> >> >
> >> > And about Emerge tool:
> >> > I already installed those libs, how could i tell it to use them,
> instead
> >> > of build all from src? and how someone can build a third party kde app
> >> > with it?
> >> >
> >> > Any help appreciated :)
> >> > Mehrdad
> >> > _______________________________________________
> >> > Kde-windows mailing list
> >> > Kde-windows@kde.org
> >> > https://mail.kde.org/mailman/listinfo/kde-windows
> >>
> >> if you installed msvc packages you need to install msvc and the
> >> platform sdk while if you installed mingw packages you need mingw
> >> then you need to setup the path properly, for msvc there is a script
> >> setenv.bat somewhere, then choose the right generator for cmake mingw
> >> makefiles for mingw and nmake makefiles for msvc
> > Just installed MinGW(gcc and g++ and make) and its related kde packages!
> > But, how could i tell CMake to use it?
> >
> > Thanks anyway :)
> >> _______________________________________________
> >> Kde-windows mailing list
> >> Kde-windows@kde.org
> >> https://mail.kde.org/mailman/listinfo/kde-windows
> >
> >
> > _______________________________________________
> > Kde-windows mailing list
> > Kde-windows@kde.org
> > https://mail.kde.org/mailman/listinfo/kde-windows
> >
> >
>
> you have to set the path properly, follow the mingw section of the
> guide linked by ralf
> _______________________________________________
> Kde-windows mailing list
> Kde-windows@kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>
[Attachment #5 (text/html)]
Thanks for guid,<br>It passes that level!<br>But, fails at linking stage!<br><br>Here \
it is more info:<br><br>KDE install dir is C:\KDE (I installed part of it at \
C:\Program files\KDE and after it, i moved the whole dir here and install some other \
pkgs.)<br> BTW the install dir is C:\KDE now! :D<br><br>Choqok src is at \
C:\choqok<br><br>Cmake command:<br>C:\choqok\build>cmake.exe -G "MinGW \
Makefiles" .. -DCMAKE_INCLUDE_PATH=c:\kde\include \
-DCMAKE_LIBRARY_PATH=c:\kde\lib -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=c:\kde<br> <br>Make \
Result:<br>C:\choqok\build>make<br>.<br>.<br>.<br>[ 96%] Building CXX object \
src/CMakeFiles/choqok.dir/account.obj<br>[100%] Building CXX object \
src/CMakeFiles/choqok.dir/settings.obj<br>make[2]: *** No rule to make target \
`D:/kde/kde-mingw/lib/libQtSvg4.a', needed by `bin/choqok.exe'. Stop.<br> \
make[1]: *** [src/CMakeFiles/choqok.dir/all] Error 2<br>make: *** [all] Error \
2<br><br><br>It seems that problem is that it try to find libraries at D:/kde/... but \
there isn't such a dir and I set the lib dir (on cmake command) to c:\kde\lib<br> \
And i don't remember any other place i set this! :-/<br><br>Thanks for helps \
:)<br>Mehrdad<br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 4:18 PM, Carlo \
<span dir="ltr"><<a href="http://brandon.ml">brandon.ml</a>@<a \
href="http://gmail.com">gmail.com</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"><div class="im">2009/4/3 Mehrdad Momeny <<a \
href="mailto:mehrdad.momeny@gmail.com">mehrdad.momeny@gmail.com</a>>:<br>
><br>
</div><div><div></div><div class="h5">> On Jumee 14 Farvardin 1388 15:11:15 Carlo \
wrote:<br> >> 2009/4/3 Mehrdad Momeny <<a \
href="mailto:mehrdad.momeny@gmail.com">mehrdad.momeny@gmail.com</a>>:<br> >> \
> Hi guys,<br> >> > I want to build my KDE app for windows!<br>
>> > Already installed kdelibs(+dev), kdebase-apps and kdebase-runtime, \
...<br> >> > via KDE win installer.<br>
>> > My app is just depend on KDELibs, I think. (It's Choqok, A \
Microblog<br> >> > client. src is at extragear/network)<br>
>> ><br>
>> > I check the tutorials, but can't find how should i do this!?<br>
>> ><br>
>> > Running Cmake on src dir says that can't find Compilers and I \
don't<br> >> > think<br>
>> > how could i set for it. :(<br>
>> ><br>
>> > And about Emerge tool:<br>
>> > I already installed those libs, how could i tell it to use them, \
instead<br> >> > of build all from src? and how someone can build a third \
party kde app<br> >> > with it?<br>
>> ><br>
>> > Any help appreciated :)<br>
>> > Mehrdad<br>
>> > _______________________________________________<br>
>> > Kde-windows mailing list<br>
>> > <a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>
>> > <a href="https://mail.kde.org/mailman/listinfo/kde-windows" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br> \
>><br> >> if you installed msvc packages you need to install msvc and \
the<br> >> platform sdk while if you installed mingw packages you need \
mingw<br> >> then you need to setup the path properly, for msvc there is a \
script<br> >> setenv.bat somewhere, then choose the right generator for cmake \
mingw<br> >> makefiles for mingw and nmake makefiles for msvc<br>
</div></div>> Just installed MinGW(gcc and g++ and make) and its related kde \
packages!<br> > But, how could i tell CMake to use it?<br>
><br>
> Thanks anyway :)<br>
<div class="im">>> _______________________________________________<br>
>> Kde-windows mailing list<br>
>> <a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>
>> <a href="https://mail.kde.org/mailman/listinfo/kde-windows" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br> ><br>
><br>
> _______________________________________________<br>
> Kde-windows mailing list<br>
> <a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/kde-windows" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br> ><br>
><br>
<br>
</div>you have to set the path properly, follow the mingw section of the<br>
guide linked by ralf<br>
<div><div></div><div class="h5">_______________________________________________<br>
Kde-windows mailing list<br>
<a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-windows" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br> \
</div></div></blockquote></div><br>
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic