Image 01
profile-image

xaghor

xavier xaghor
test
Yasp-Scripted (Systemmonitor) v1.0.8a

Plasma 4 Extensions 301 comments

Score 82.1%
Feb 25 2011
all is right, it works ! thank you - Jan 01 2010
I have downloaded the new version. The compilation ends with this output :

Scanning dependencies of target yasp_scripted_automoc
Generating frame.moc
Generating yasp-scripted.moc
Generating scriptparser.moc
Generating label.moc
[ 0%] Built target yasp_scripted_automoc
[ 12%] Generating ui_config.h
Scanning dependencies of target yasp_scripted
[ 25%] Building CXX object CMakeFiles/yasp_scripted.dir/yasp_scripted_automoc.o
[ 37%] Building CXX object CMakeFiles/yasp_scripted.dir/yasp-scripted.o
[ 50%] Building CXX object CMakeFiles/yasp_scripted.dir/frame.o
[ 62%] Building CXX object CMakeFiles/yasp_scripted.dir/label.o
/home/xaghor/Desktop/yasp-scripted-0.99b/label.cpp: In member function ‘virtual void Label::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/xaghor/Desktop/yasp-scripted-0.99b/label.cpp:100: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
/home/xaghor/Desktop/yasp-scripted-0.99b/label.cpp:103: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
[ 75%] Building CXX object CMakeFiles/yasp_scripted.dir/scriptparser.o
[ 87%] Building CXX object CMakeFiles/yasp_scripted.dir/structs.o
[100%] Building CXX object CMakeFiles/yasp_scripted.dir/iconstack.o
/home/xaghor/Desktop/yasp-scripted-0.99b/iconstack.cpp: In member function ‘virtual void IconStack::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/xaghor/Desktop/yasp-scripted-0.99b/iconstack.cpp:64: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
Linking CXX shared module lib/yasp_scripted.so
[100%] Built target yasp_scripted
Install the project...
-- Install configuration: "release"
-- Installing: /usr/lib/kde4/yasp_scripted.so
-- Set runtime path of "/usr/lib/kde4/yasp_scripted.so" to "/usr/lib"
-- Up-to-date: /usr/share/kde4/services/yasp-scripted.desktop
xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99b/build$ kbuildsycoca4
kbuildsycoca4 running...
xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99b/build$

I copied the script "systemmonitor.script" to my $HOME/.yasp.script repertory but when I launch the plasmoid nothing happend, I only have a empty applet.....
Do you know why ? I missed anything else ? - Jan 01 2010
thanks, it's better, that's resolve this error ! but a new error appears after... this this the new logout :

Scanning dependencies of target yasp_scripted_automoc
Generating scriptparser.moc
Generating yasp-scripted.moc
Generating frame.moc
Generating label.moc
[ 0%] Built target yasp_scripted_automoc
[ 12%] Generating ui_config.h
Scanning dependencies of target yasp_scripted
[ 25%] Building CXX object CMakeFiles/yasp_scripted.dir/yasp_scripted_automoc.o
[ 37%] Building CXX object CMakeFiles/yasp_scripted.dir/yasp-scripted.o
[ 50%] Building CXX object CMakeFiles/yasp_scripted.dir/frame.o
[ 62%] Building CXX object CMakeFiles/yasp_scripted.dir/label.o
/home/xaghor/Desktop/yasp-scripted-0.99a/label.cpp: In member function ‘virtual void Label::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/xaghor/Desktop/yasp-scripted-0.99a/label.cpp:100: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
/home/xaghor/Desktop/yasp-scripted-0.99a/label.cpp:103: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
[ 75%] Building CXX object CMakeFiles/yasp_scripted.dir/scriptparser.o
/home/xaghor/Desktop/yasp-scripted-0.99a/scriptparser.cpp: In constructor ‘ScriptParser::ScriptParser(Yasp*)’:
/home/xaghor/Desktop/yasp-scripted-0.99a/scriptparser.cpp:40: error: ‘cout’ is not a member of ‘std’
/home/xaghor/Desktop/yasp-scripted-0.99a/scriptparser.cpp:40: error: ‘endl’ is not a member of ‘std’
make[2]: *** [CMakeFiles/yasp_scripted.dir/scriptparser.o] Erreur 1
make[1]: *** [CMakeFiles/yasp_scripted.dir/all] Erreur 2
make: *** [all] Erreur 2

...
- Dec 31 2009
could you give me what are the lines I must delete please, to be sure... thanks - Dec 31 2009
Hello

I have one problem with compilation's script and I dont understand what is the problem. If somebody could help me please....
I have kubuntu 9.10 x64 ans I have already installed kdelibs5-dev,build-essential,cmake, libphonon-dev but I have one error in compilation :

xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99a$ #Release
xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99a$ mkdir build
xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99a$ cd build
xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99a/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release ../
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.3.1
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/qt4/KDE;/usr/include/qt4
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xaghor/Desktop/yasp-scripted-0.99a/build
xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99a/build$ sudo make install
[sudo] password for xaghor:
Scanning dependencies of target yasp_scripted_automoc
Generating scriptparser.moc
Generating yasp-scripted.moc
Generating frame.moc
Generating label.moc
[ 0%] Built target yasp_scripted_automoc
[ 12%] Generating ui_config.h
Scanning dependencies of target yasp_scripted
[ 25%] Building CXX object CMakeFiles/yasp_scripted.dir/yasp_scripted_automoc.o
[ 37%] Building CXX object CMakeFiles/yasp_scripted.dir/yasp-scripted.o
/home/xaghor/Desktop/yasp-scripted-0.99a/yasp-scripted.cpp: In constructor ‘Yasp::Yasp(QObject*, const QVariantList&)’:
/home/xaghor/Desktop/yasp-scripted-0.99a/yasp-scripted.cpp:56: error: invalid use of non-static member function ‘bool QFont::bold() const’
make[2]: *** [CMakeFiles/yasp_scripted.dir/yasp-scripted.o] Erreur 1
make[1]: *** [CMakeFiles/yasp_scripted.dir/all] Erreur 2
make: *** [all] Erreur 2
xaghor@xaghor-kubuntu64:~/Desktop/yasp-scripted-0.99a/build$


thanks - Dec 31 2009
Score 70.0%
9   Dec 19 2010