![]() Registered Member ![]()
|
I'm receiving the following error while trying to 'make' 4.0b1. If you have any suggestions as to how to fix this I would be grateful.
[ 61%] Building CXX object plugins/mediaplayer/CMakeFiles/ktmediaplayerplugin.dir/ktmediaplayerplugin_automoc.o In file included from /opt/ktorrent/ktorrent-4.0beta1/build/plugins/mediaplayer/moc_videowidget.cpp:10, from /opt/ktorrent/ktorrent-4.0beta1/build/plugins/mediaplayer/ktmediaplayerplugin_automoc.cpp:11: /opt/ktorrent/ktorrent-4.0beta1/build/plugins/mediaplayer/../../../plugins/mediaplayer/videowidget.h:70: error: ISO C++ forbids declaration of ‘VideoWidget’ with no type /opt/ktorrent/ktorrent-4.0beta1/build/plugins/mediaplayer/../../../plugins/mediaplayer/videowidget.h:70: error: invalid use of ‘::’ /opt/ktorrent/ktorrent-4.0beta1/build/plugins/mediaplayer/../../../plugins/mediaplayer/videowidget.h:70: error: expected ‘;’ before ‘*’ token make[2]: *** [plugins/mediaplayer/CMakeFiles/ktmediaplayerplugin.dir/ktmediaplayerplugin_automoc.o] Error 1 make[1]: *** [plugins/mediaplayer/CMakeFiles/ktmediaplayerplugin.dir/all] Error 2 make: *** [all] Error 2
Last edited by raindog on Wed Apr 14, 2010 7:19 pm, edited 3 times in total.
|
![]() Moderator ![]()
|
Try this:
sudo apt-get install --reinstall libphonon-dev Then rerun cmake and make again. |
![]() Registered Member ![]()
|
I'm getting the same result as before. I was able to successfully compile 4.0b1 on Ubuntu Karmic. I just upgraded to Lucid and now I'm getting the above error. Not sure if that piece of information is of any use in troubleshooting this.
|
![]() Moderator ![]()
|
Then the phonon development package must be broken on lucid.
|
![]() Registered Member ![]()
|
Some helpful person, jonasl, from the IRC suggested I try this.
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DENABLE_MEDIAPLAYER_PLUGIN=false That took care of it. Yes, I still have lots to learn. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]