KDE TechBase
  • Page
  • Discussion
  • Edit
  • +
  • History
KDE TechBase is a Wiki - You can help! Please contribute! Questions?
Please ask development related questions in the KDE Community Forum.

Talk:Projects/Plasma/Plasmoids

< Talk:Projects | Plasma
Revision as of 06:54, 8 August 2008 by 90.135.71.66 (Talk)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

[edit] Error compiling system-monitor

$ svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/system-monitor
   ...
   ...
   ...                                                                    
Checked out revision 810383.                                                                               
$ cd system-monitor
$ mkdir build
$ cd 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 CMakeLists.txt:12 (kde4_add_ui_files):
  Unknown CMake command "kde4_add_ui_files".


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 done

How can I fix this. --89.142.182.236 18:37, 20 May 2008 (CEST)

This usually means that find_package(KDE4 REQUIRED) is missing in the CMakeLists.txt.

Add it somewhere before the first use of the kde4_add_ui_files macro: http://linux-tipps.blogspot.com/2008/08/unknown-cmake-command-kde4adduifiles.html

Retrieved from "http://techbase.kde.org/Talk:Projects/Plasma/Plasmoids"

Navigation

  • Home
  • Help
  • Recent changes

Sections

  • Getting started
  • Development
  • Schedules
  • Policies
  • Contribute
  • Projects

Toolbox

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link

Personal tools

  • 38.107.191.97
  • Talk for this IP
  • Log in / create account
  • Login with OpenID
Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal