I installed QT4.4 with phonon option.
But when I compiled the example musicplayer from phonon. It always says:
/usr/bin/ld: cannot find -lphonon
How can I set the path?
I installed QT4.4 with phonon option.
But when I compiled the example musicplayer from phonon. It always says:
/usr/bin/ld: cannot find -lphonon
How can I set the path?
I had the same problem and fixed adding some symbolic links into the lib and include paths.
You can do something like that:
Qt Code:
ln -s /usr/lib/kde4/lib/libphonon.so /usr/lib/libphonon.soTo copy to clipboard, switch view to plain text mode
Theres others phonon modules at usr/lib, but for me worked only linking this one.
I also had to link the include dir that is under "/usr/lib/kde4/include/phonon" with "/usr/include/phonon" to be able compile my sources.
Bookmarks