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>