Difference between revisions of "Talk:Projects/Plasma/Plasmoids"

Jump to: navigation, search
 
Line 43: Line 43:
 
is missing in the CMakeLists.txt.
 
is missing in the CMakeLists.txt.
  
Add it somewhere before the first use of the kde4_add_ui_files macro.
+
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

Latest revision as of 07:54, 8 August 2008

[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


This page was last modified on 8 August 2008, at 07:54. This page has been accessed 2,757 times. Content is available under 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