<br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 8:42 PM, Zeng Huan <span dir="ltr"><<a href="mailto:zh.issac@gmail.com">zh.issac@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;">
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Mar 25, 2009 at 6:30 PM, Stefan Majewsky <span dir="ltr"><<a href="mailto:majewsky@gmx.net" target="_blank">majewsky@gmx.net</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><div></div><div>On Mittwoch 25 März 2009 08:20:48 Zeng Huan wrote:<br>
> Hi,<br>
><br>
> I have KDE 4.2 installed, I try to compile Kolf2 but unluckily get an<br>
> error.<br>
> I have kdelibs5-dev installed, what libs should be added? Thanks!<br>
><br>
> CMake Error at CMakeLists.txt:57 (kde4_add_executable):<br>
> Unknown CMake command "kde4_add_executable".<br>
><br>
><br>
> CMake Warning (dev) in CMakeLists.txt:<br>
> No cmake_minimum_required command is present. A line of code such as<br>
><br>
> cmake_minimum_required(VERSION 2.6)<br>
><br>
> should be added at the top of the file. The version specified may be<br>
> lower<br>
> if you wish to support older CMake versions for this project. For more<br>
> information run "cmake --help-policy CMP0000".<br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> -- Configuring incomplete, errors occurred!<br>
<br>
</div></div>Stuff from KDE-SVN is usually built per module, not per application: Checkout<br>
the parent directory of kolf-ng (i.e. .../trunk/playground/games) with the -N<br>
switch, then go into this directory and `svn up kolf-ng`. Then build this as<br>
usual.<br>
<br>
With the -N switch, svn will only checkout files, but not subdirectories. The<br>
`svn up` fetches the kolf-ng subdirectory. Through the usage of a special<br>
add_subdirectory macro, CMake will only build the subdirectories that are<br>
present (in this case kolf-ng).<br>
</blockquote></div></div><div><br> I followed your instruction, but it seems that Cmake failed to find out my ODE(but I did install it). So, nothing for the output Makefile to make.<br><br>Any ideas?<br><br>-----------------------------------------------------------------------------<br>
-- The following OPTIONAL packages could NOT be located on your system.<br>-- Consider installing them to enable more features from this software.<br>+ Open Dynamics Engine: A physics simulation system (required for Kolf-NG and Astrododge) <<a href="http://www.ode.org" target="_blank">http://www.ode.org</a>><br>
+ KGLLib: OpenGL support library (required for Astrododge) <><br>+ Glew: Support for several OpenGL extensions (used in FruitWars) <<a href="http://glew.sourceforge.net/" target="_blank">http://glew.sourceforge.net/</a>><br>
+ OpenAL: Sound framework used by KALEngine <<a href="http://connect.creativelabs.com/openal" target="_blank">http://connect.creativelabs.com/openal</a>><br>
-----------------------------------------------------------------------------<br><br>-- Configuring done<br>-- Generating done<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Greetings<br>
<font color="#888888">Stefan<br>
<br>
</font><br>_______________________________________________<br>
kde-games-devel mailing list<br>
<a href="mailto:kde-games-devel@kde.org" target="_blank">kde-games-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-games-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kde-games-devel</a><br>
<br></blockquote></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Best regards, ZengHuan<br>Beijing, China<br>
</div></div></blockquote></div><br>fix this problem by writing FindODE.cmake to find ODE.<br clear="all"><br>-- <br>Best regards, ZengHuan<br>Beijing, China<br>