-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phonon libraries can't be found on Arch Linux #26
Comments
This issue does exist on other Linux distros like Slackware, Fedora etc. I On Sat, Nov 22, 2014 at 7:02 PM, Matthew Raspberry <notifications@github.com
|
I cloned the repository from github yesterday. HEAD is at rev d9d958c |
That sounds like the Makefile created by qmake is not properly detecting the include path for the phonon module. If necessary, just modify the "INCLUDEPATH +=" line in the *.pro file and add the proper path to the end: That should force it to also use that include directory when searching for the files. FYI: I am in the middle of converting Lumina to Qt5, and phonon does not exist in Qt5 anymore. Instead there is a new QMultimedia framework built-in to Qt5 instead of relying on an external module like Phonon - so this issue should just disappear here soon. |
FYI, I have phonon includes under /usr/include/phonon, and /usr/include/KDE/Phonon. |
Here is the fix I used for the SlackBuild:
|
FYI: The current version of the source tree is Qt5 based now and does not have/use phonon anymore. The Qt4 tree is being preserved in the (static) qt4/0.7.2 branch of the repository for legacy purposes, but you might want to look into updating your build script to function with the Qt5 sources (the master branch), since that is the only branch getting updates. The first official release of the Qt5 version (0.8.0) will probably be happening soon, I just have a couple last XCB/WM bugs I want to fix first (mostly regarding reserved screen space for panels). |
I received the following error trying to build Lumina on Arch Linux.
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/phonon -I/usr/include/qt4 -I../libLumina -I/usr/local/include -I/usr/include/qt4/phonon_compat -I. -I. -o main.o main.cpp
In file included from main.cpp:19:0:
LSession.h:21:30: fatal error: Phonon/MediaObject: No such file or directory
#include <Phonon/MediaObject>
^
compilation terminated.
Makefile:639: recipe for target 'main.o' failed
make: *** [main.o] Error 1
The reason is that the path on Arch is /usr/include/qt4/phonon, not /usr/include/qt4/Phonon. To work around the issue I created a symlink, but that doesn't seem like the ideal solution. I haven't checked this on other Linux distros to see if the issue exists there
The text was updated successfully, but these errors were encountered: