Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
snvvOffline
Post subject: fail to compile eyesaver  PostPosted: 08.11.2010, 16:01



Joined: 2010-09-13
Posts: 295

Status: Offline
I try to compile Eyesaver ( http://kde-look.org/content/show.php/Ey ... tent=89989 )but the command cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` fails

      Quote:
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- 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/snvv/.kde/share/apps;/usr/share/aptosid-settings-kde/kde4/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:5 (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.Cool

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 compile it please?
Thank you
snvv
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: fail to compile eyesaver  PostPosted: 08.11.2010, 16:25



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
apt-get install kdelibs5-dev
 
 View user's profile Send private message  
Reply with quote Back to top
snvvOffline
Post subject:   PostPosted: 08.11.2010, 17:27



Joined: 2010-09-13
Posts: 295

Status: Offline
Thank you.
Now I have a make problem


      Quote:
$ make
[ 0%] Built target plasma_applet_eyesaver_automoc
[ 50%] Building CXX object CMakeFiles/plasma_applet_eyesaver.dir/eyesaver.o
In file included from /usr/include/KDE/NETRootInfo:1,
from /home/snvv/eyesaver-0.4/eyesaver.cpp:28:
/usr/include/KDE/../netwm.h:33:22: error: X11/Xlib.h: No such file or directory
/usr/include/KDE/../netwm.h:34:23: error: X11/Xutil.h: No such file or directory
/usr/include/KDE/../netwm.h:35:23: error: X11/Xatom.h: No such file or directory
In file included from /usr/include/KDE/NETRootInfo:1,
from /home/snvv/eyesaver-0.4/eyesaver.cpp:28:
/usr/include/KDE/../netwm.h:98: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:160: error: ‘Window’ does not name a type
/usr/include/KDE/../netwm.h:167: error: ‘Window’ does not name a type
/usr/include/KDE/../netwm.h:264: error: ISO C++ forbids declaration of ‘Window’ with no type
/usr/include/KDE/../netwm.h:264: error: expected ‘;’ before ‘*’ token
/usr/include/KDE/../netwm.h:283: error: ISO C++ forbids declaration of ‘Window’ with no type
/usr/include/KDE/../netwm.h:283: error: expected ‘;’ before ‘*’ token
/usr/include/KDE/../netwm.h:348: error: ISO C++ forbids declaration of ‘Window’ with no type
/usr/include/KDE/../netwm.h:348: error: expected ‘;’ before ‘*’ token
/usr/include/KDE/../netwm.h:406: error: ‘Window’ does not name a type
/usr/include/KDE/../netwm.h:425: error: ISO C++ forbids declaration of ‘Window’ with no type
/usr/include/KDE/../netwm.h:425: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/KDE/../netwm.h:435: error: ISO C++ forbids declaration of ‘Window’ with no type
/usr/include/KDE/../netwm.h:435: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/KDE/../netwm.h:512: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:513: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:513: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:521: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:539: error: ISO C++ forbids declaration of ‘Window’ with no type
/usr/include/KDE/../netwm.h:539: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/KDE/../netwm.h:570: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:587: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:603: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:608: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:608: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:608: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:614: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:614: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:623: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:623: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:662: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:670: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:718: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:733: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:742: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:742: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:753: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:754: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:754: error: ‘Window’ has not been declared
In file included from /usr/include/KDE/NETRootInfo:1,
from /home/snvv/eyesaver-0.4/eyesaver.cpp:28:
/usr/include/KDE/../netwm.h:768: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:781: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:782: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:782: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:790: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:790: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:805: error: ‘Atom’ has not been declared
/usr/include/KDE/../netwm.h:859: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:859: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:869: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:870: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:1020: error: ‘Bool’ does not name a type
/usr/include/KDE/../netwm.h:1039: error: ‘Bool’ has not been declared
/usr/include/KDE/../netwm.h:1137: error: ‘Bool’ has not been declared
/usr/include/KDE/../netwm.h:1201: error: ‘Time’ has not been declared
/usr/include/KDE/../netwm.h:1206: error: ‘Time’ does not name a type
/usr/include/KDE/../netwm.h:1242: error: ‘Window’ does not name a type
/usr/include/KDE/../netwm.h:1247: error: ‘Window’ does not name a type
/usr/include/KDE/../netwm.h:1341: error: ‘Atom’ has not been declared
/usr/include/KDE/../netwm.h:1341: error: ‘Bool’ has not been declared
/usr/include/KDE/../netwm.h:1039: error: ‘True’ was not declared in this scope
/usr/include/KDE/../netwm.h:1363: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:1363: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:1367: error: ‘Window’ has not been declared
/usr/include/KDE/../netwm.h:1368: error: ‘Window’ has not been declared
/home/snvv/eyesaver-0.4/eyesaver.cpp:217: warning: unused parameter ‘option’
make[2]: *** [CMakeFiles/plasma_applet_eyesaver.dir/eyesaver.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_eyesaver.dir/all] Error 2
make: *** [all] Error 2
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject:   PostPosted: 08.11.2010, 18:07



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Offline
apt-get install libx11-dev x11proto-core-dev
 
 View user's profile Send private message  
Reply with quote Back to top
snvvOffline
Post subject:   PostPosted: 08.11.2010, 19:53



Joined: 2010-09-13
Posts: 295

Status: Offline
It compiled correctly but it will not run.
Anyway I have to look at it now.

Thank you again
snvv
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio