[kde-edu]: Re: Compiling Cantor

Uwe Fechner u.fechner at tudelft.nl
Mon Apr 18 20:04:47 CEST 2011


 On 18.04.2011 14:14, Alexander Rieder wrote:
> - how can I compile them?
> You can compile it the same way as any other KDE application, using cmake. A
> simplistic example of how to compile it is included in the README file inside
> the cantor directory.
Hello,

I tried to follow the instructions in the README file and got the
following error:

ufechner at dell-laptop:~/cantor/cantor$ mkdir build
ufechner at dell-laptop:~/cantor/cantor$ cd build
ufechner at dell-laptop:~/cantor/cantor/build$ cmake
-DCMAKE_INSTALL_PREFIX=$KDEDIRS -DCMAKE_BUILD_TYPE=debugfull ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
 
/home/ufechner/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  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!

Any idea, how to fix this?

Regards:

Uwe Fechner

----------------------------------------
Uwe Fechner, M.Sc.
Delft University of Technology
Faculty of Aerospace Engineering/ASSET
Kluyverweg 1,
2629 HS Delft, The Netherlands
Phone: +31-15-27-88902



More information about the kde-edu mailing list