This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Basic tutorial on kde.org doesn't work?

Tags: None
(comma "," separated)
Tanner1294
Registered Member
Posts
15
Karma
0
OS
I absolutely hate to say this buuut.... I'm on Kubuntu 11.04 and have been trying to use the KDE.org tutorial's but even the simple 'Hello World' doesn't work at all. Cmake spits out an error and quits. I follow exactly what it says and this is the output I get from cmake:


Code: Select all
tanner@Tanners-KBook:~/Desktop/hello/build$ cmake ..
-- 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/tanner/.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:2 (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!


I can understand the cmake_minimum required part but that's it.
Tanner1294
Registered Member
Posts
15
Karma
0
OS
okay so I realized I posted this in the wrong spot I think, how do I delete it? I'm soo sick of forums not including an easy way to delete posts... Even Apple took away the ability to delete a post at all.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Do you have kdelibs5-dev installed? This should take care of that error. The tutorial doesn't go into distro-specific dependencies, unfortunately. As it is a wiki, however, you can add this in and thereby improve the tutorial.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Moved to a more appropriate place.

The reason we don't allow people to delete posts is because a) either it would recursively delete all replies as well, or b) it would result in a broken discussion. In the future you can PM Global Moderators if you wish to move a post.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
Tanner1294
Registered Member
Posts
15
Karma
0
OS
First, thank you for moving this post and the info :)

And secondly, kdelibs5-dev is EXACTLY what I needed. I figured it would have to be a "-dev" package, but I had no idea what one. It works now!

http://ubuntuone.com/p/z01/


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]