You are not logged in.
Pages: 1
Hi,
I just can't get the phonon-musicplayer (http://doc.qtsoftware.com/4.5/phonon-mu … r-pro.html) example compiled.
I made a .pro file once with "qmake -project" and once by downloading the file from trolltech, but when I use "make" , I get always the error:
$ LANG=C make
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG
-DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++
-I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/phonon -I/usr/include -I. -I. -o main.o main.cpp
In file included from main.cpp:43:
mainwindow.h:46:31: error: Phonon/AudioOutput: No such file or directory
mainwindow.h:47:30: error: Phonon/SeekSlider: No such file or directory
mainwindow.h:48:31: error: Phonon/MediaObject: No such file or directory
mainwindow.h:49:32: error: Phonon/VolumeSlider: No such file or directory
mainwindow.h:50:39: error: Phonon/BackendCapabilities: No such file or directory
...
phonon from extra is installed, and the file /usr/include/phonon/audiooutput.h exists (and, if I understand the code above correctly, /usr/include/phonon should be included). I have no idea anymore what to do... Can anybody please help me?
FSM
Last edited by FSM (2009-07-16 08:55:45)
Offline
Have a look at /usr/include/KDE/Phonon
Try adding /usr/include/KDE to the include path.
Tip for the future: Have a look at the output of $pacman -Ql <packagename>
Offline
Thank you!
FSM
Offline
Pages: 1