Including kaffeine-devel list<br><br>--<br>Andrius<br><br><div class="gmail_quote">2009/11/1 Andrius da Costa Ribas <span dir="ltr"><<a href="mailto:andriusmao@gmail.com">andriusmao@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've just tried building Kaffeine on MSWindows and I've got surprised!!! no code changes to build successfuly all targets ( except linux-specific dvb parts )<br><br>screenshot of kaffeine playing windows vista sample video butterfly.wmv (using mplayer backend):<br>
<a href="http://imagebin.ca/view/xHr9jvlF.html" target="_blank">http://imagebin.ca/view/xHr9jvlF.html</a><br><br>screenshot of about screen:<br><a href="http://imagebin.ca/view/6E6q1LIC.html" target="_blank">http://imagebin.ca/view/6E6q1LIC.html</a><br>
<br>It's a mingw build, I've not tried it with msvc. Somehow I've got no directshow backend in phonon installation ( KDE 4.3.2 - mingw4 - binary packages from installer )<br><br>@Christoph, is it time to change last question of FAQ? ;)<br>
<br>some issues:<br>- when trying to open a dvd: "No stream found to handle url dvd://1", similar for audio cd etc.. (I believe it's kde-windows issue)<br>- a small delay before starting video ( longer delay on first use ) ( I believe it's backend issue )<br>
- I'm not sure about konqueror and firefox kaffeine plugin<br><br>Many thanks for all people who helped :)<br><br>build log:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\build>mingw32-make -k<br>[ 0%] Built target kaffeine_automoc<br>
[ 4%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbdevice.obj<br>[ 8%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbepg.obj<br>[ 13%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbliveview.obj<br>
[ 17%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbmanager.obj<br>[ 21%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbrecording.obj<br>[ 26%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbscan.obj<br>
[ 30%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbscandialog.obj<br>[ 34%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbsi.obj<br>[ 39%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbtab.obj<br>
[ 43%] Building CXX object src/CMakeFiles/kaffeine.dir/playlist/playlistmodel.ob<br>j<br>[ 47%] Building CXX object src/CMakeFiles/kaffeine.dir/playlist/playlisttab.obj<br>[ 52%] Building CXX object src/CMakeFiles/kaffeine.dir/datetimeedit.obj<br>
[ 56%] Building CXX object src/CMakeFiles/kaffeine.dir/kaffeine.obj<br>[ 60%] Building CXX object src/CMakeFiles/kaffeine.dir/main.obj<br>[ 65%] Building CXX object src/CMakeFiles/kaffeine.dir/mediawidget.obj<br>[ 69%] Building CXX object src/CMakeFiles/kaffeine.dir/osdwidget.obj<br>
[ 73%] Building CXX object src/CMakeFiles/kaffeine.dir/proxytreeview.obj<br>Linking CXX executable ..\bin\kaffeine.exe<br>[ 91%] Built target kaffeine<br>[ 91%] Built target kaffeinedvb_automoc<br>[ 95%] Building CXX object src/CMakeFiles/kaffeinedvb.dir/kaffeinedvb_automoc.ob<br>
j<br>[100%] Building CXX object src/CMakeFiles/kaffeinedvb.dir/dvb/dvbdevice_linux.ob<br>j<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:27:18: err<br>or: poll.h: No such file or directory<br>In file included from C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevic<br>
e_linux.cpp:23:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:95: error: '__u8' does n<br>ot name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:96: error: '__u8' does n<br>
ot name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:97: error: '__u8' does n<br>ot name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:103: error: '__u16' does<br>
not name a type<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:105: error: '__u32' does<br> not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:106: error: '__u32' does<br> not name a type<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:116: error: '__u16' does<br> not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:120: error: '__u32' does<br> not name a type<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:124: error: '__u32' does<br> not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:142: error: '__u64' does<br> not name a type<br>
In file included from C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevic<br>e_linux.cpp:26:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:79: error: '__u32'<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:80: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:81: error: '__u32'<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:82: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:83: error: '__u32'<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:84: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:85: error: '__u32'<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:86: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:96: error: '__u8' d<br>oes not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:97: error: '__u8' d<br>
oes not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:102: error: '__u8'<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:103: error: '__u8'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:211: error: '__u32'<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:216: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:237: error: '__u32'<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:348: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:351: error: '__u32'<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:352: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:353: error: '__u32'<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:357: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:358: error: '__u32'<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:360: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:362: error: '__u8'<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:363: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:364: error: '__u32'<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:375: error: '__u32'<br>
does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function 'virtual void DvbDeviceThread::run()':<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:107: error<br>
: 'pollfd' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:107: error<br>: expected ';' before 'pfds'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:108: error<br>
: 'pfds' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:111: error<br>: 'POLLIN' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:119: error<br>
: 'poll' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function 'virtual bool DvbLinuxDevice::setTone(DvbBackendDevice::SecTone)':<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:313: error<br>: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>
function 'virtual bool DvbLinuxDevice::setVoltage(DvbBackendDevice::SecVoltage)<br>
':<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:326: error<br>: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>
function 'virtual bool DvbLinuxDevice::sendMessage(const char*, int)':<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:340: error<br>: 'struct dvb_diseqc_master_cmd' has no member named 'msg'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:341: error<br>: 'struct dvb_diseqc_master_cmd' has no member named 'msg_len'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:343: error<br>
: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function 'virtual bool DvbLinuxDevice::sendBurst(DvbBackendDevice::SecBurst)':<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:356: error<br>: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>
function 'virtual bool DvbLinuxDevice::tune(const DvbTransponder&)':<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:511: error<br>: 'struct dvb_frontend_parameters' has no member named 'frequency'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:513: error<br>
: 'struct dvb_qam_parameters' has no member named 'symbol_rate'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:522: error<br>: 'struct dvb_frontend_parameters' has no member named 'frequency'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:524: error<br>: 'struct dvb_qpsk_parameters' has no member named 'symbol_rate'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:535: error<br>
: 'struct dtv_property' has no member named 'cmd'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:536: error<br>: 'union dtv_property::<anonymous>' has no member named 'data'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:537: error<br>: 'struct dtv_property' has no member named 'cmd'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:538: error<br>
: 'union dtv_property::<anonymous>' has no member named 'data'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:539: error<br>: 'struct dtv_property' has no member named 'cmd'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:540: error<br>: 'union dtv_property::<anonymous>' has no member named 'data'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:541: error<br>
: 'struct dtv_property' has no member named 'cmd'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:542: error<br>: 'union dtv_property::<anonymous>' has no member named 'data'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:543: error<br>: 'struct dtv_property' has no member named 'cmd'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:544: error<br>
: 'union dtv_property::<anonymous>' has no member named 'data'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:545: error<br>: 'struct dtv_property' has no member named 'cmd'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:546: error<br>: 'union dtv_property::<anonymous>' has no member named 'data'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:547: error<br>
: 'struct dtv_property' has no member named 'cmd'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:548: error<br>: 'union dtv_property::<anonymous>' has no member named 'data'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:549: error<br>: 'struct dtv_property' has no member named 'cmd'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:550: error<br>
: 'union dtv_property::<anonymous>' has no member named 'data'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:551: error<br>: 'struct dtv_property' has no member named 'cmd'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:556: error<br>: 'struct dtv_properties' has no member named 'num'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:559: error<br>
: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:572: error<br>: 'struct dvb_frontend_parameters' has no member named 'frequency'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:590: error<br>: 'struct dvb_frontend_parameters' has no member named 'frequency'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:601: error<br>
: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function 'virtual int DvbLinuxDevice::getSignal()':<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:617: error<br>
: '__u16' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:617: error<br>: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>
function 'virtual int DvbLinuxDevice::getSnr()':<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:636: error<br>: '__u16' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:636: error<br>
: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function 'virtual bool DvbLinuxDevice::isTuned()':<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:656: error<br>
: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function 'virtual bool DvbLinuxDevice::addPidFilter(int)':<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:683: error<br>
: 'struct dmx_pes_filter_params' has no member named 'pid'<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:687: error<br>: 'struct dmx_pes_filter_params' has no member named 'flags'<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:689: error<br>: 'ioctl' was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>
function 'bool DvbLinuxDevice::identifyDevice()':<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:747: error<br>: 'ioctl' was not declared in this scope<br>mingw32-make[2]: *** [src/CMakeFiles/kaffeinedvb.dir/dvb/dvbdevice_linux.obj] Er<br>
ror 1<br>
mingw32-make[2]: Target `src/CMakeFiles/kaffeinedvb.dir/build' not remade becaus<br>e of errors.<br>mingw32-make[1]: *** [src/CMakeFiles/kaffeinedvb.dir/all] Error 2<br>mingw32-make[1]: Target `all' not remade because of errors.<br>
mingw32-make: *** [all] Error 2<br>mingw32-make: Target `default_target' not remade because of errors.<br><br><br>Thanks again,<br><font color="#888888">Andrius.<br>
</font></blockquote></div><br>