[Kde-games-devel] kde4_add_executable missing?
Zeng Huan
zh.issac at gmail.com
Wed Mar 25 13:42:57 CET 2009
On Wed, Mar 25, 2009 at 6:30 PM, Stefan Majewsky <majewsky at gmx.net> wrote:
> On Mittwoch 25 März 2009 08:20:48 Zeng Huan wrote:
> > Hi,
> >
> > I have KDE 4.2 installed, I try to compile Kolf2 but unluckily get an
> > error.
> > I have kdelibs5-dev installed, what libs should be added? Thanks!
> >
> > CMake Error at CMakeLists.txt:57 (kde4_add_executable):
> > Unknown CMake command "kde4_add_executable".
> >
> >
> > CMake Warning (dev) in CMakeLists.txt:
> > No cmake_minimum_required command is present. A line of code such as
> >
> > cmake_minimum_required(VERSION 2.6)
> >
> > should be added at the top of the file. The version specified may be
> > lower
> > if you wish to support older CMake versions for this project. For more
> > information run "cmake --help-policy CMP0000".
> > This warning is for project developers. Use -Wno-dev to suppress it.
> >
> > -- Configuring incomplete, errors occurred!
>
> Stuff from KDE-SVN is usually built per module, not per application:
> Checkout
> the parent directory of kolf-ng (i.e. .../trunk/playground/games) with the
> -N
> switch, then go into this directory and `svn up kolf-ng`. Then build this
> as
> usual.
>
> With the -N switch, svn will only checkout files, but not subdirectories.
> The
> `svn up` fetches the kolf-ng subdirectory. Through the usage of a special
> add_subdirectory macro, CMake will only build the subdirectories that are
> present (in this case kolf-ng).
>
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.
Any ideas?
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ Open Dynamics Engine: A physics simulation system (required for Kolf-NG
and Astrododge) <http://www.ode.org>
+ KGLLib: OpenGL support library (required for Astrododge) <>
+ Glew: Support for several OpenGL extensions (used in FruitWars) <
http://glew.sourceforge.net/>
+ OpenAL: Sound framework used by KALEngine <
http://connect.creativelabs.com/openal>
-----------------------------------------------------------------------------
-- Configuring done
-- Generating done
>
> Greetings
> Stefan
>
>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>
>
--
Best regards, ZengHuan
Beijing, China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-games-devel/attachments/20090325/53f32c5a/attachment.htm
More information about the kde-games-devel
mailing list