Including  kaffeine-devel list<br><br>--<br>Andrius<br><br><div class="gmail_quote">2009/11/1 Andrius da Costa Ribas <span dir="ltr">&lt;<a href="mailto:andriusmao@gmail.com">andriusmao@gmail.com</a>&gt;</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&#39;ve just tried building Kaffeine on MSWindows and I&#39;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&#39;s a mingw build, I&#39;ve not tried it with msvc. Somehow I&#39;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: &quot;No stream found to handle url dvd://1&quot;, similar for audio cd etc.. (I believe it&#39;s kde-windows issue)<br>- a small delay before starting video ( longer delay on first use ) ( I believe it&#39;s backend issue )<br>


- I&#39;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&gt;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: &#39;__u8&#39; does n<br>ot name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:96: error: &#39;__u8&#39; does n<br>


ot name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:97: error: &#39;__u8&#39; does n<br>ot name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:103: error: &#39;__u16&#39; does<br>

 not name a type<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:105: error: &#39;__u32&#39; does<br> not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:106: error: &#39;__u32&#39; does<br> not name a type<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:116: error: &#39;__u16&#39; does<br> not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:120: error: &#39;__u32&#39; does<br> not name a type<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:124: error: &#39;__u32&#39; does<br> not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:142: error: &#39;__u64&#39; 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: &#39;__u32&#39;<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:80: error: &#39;__u32&#39;<br>


does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:81: error: &#39;__u32&#39;<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:82: error: &#39;__u32&#39;<br>


does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:83: error: &#39;__u32&#39;<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:84: error: &#39;__u32&#39;<br>


does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:85: error: &#39;__u32&#39;<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:86: error: &#39;__u32&#39;<br>


does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:96: error: &#39;__u8&#39; d<br>oes not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:97: error: &#39;__u8&#39; d<br>


oes not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:102: error: &#39;__u8&#39;<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:103: error: &#39;__u8&#39;<br>


does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:211: error: &#39;__u32&#39;<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:216: error: &#39;__u32&#39;<br>


 does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:237: error: &#39;__u32&#39;<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:348: error: &#39;__u32&#39;<br>


 does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:351: error: &#39;__u32&#39;<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:352: error: &#39;__u32&#39;<br>


 does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:353: error: &#39;__u32&#39;<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:357: error: &#39;__u32&#39;<br>


 does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:358: error: &#39;__u32&#39;<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:360: error: &#39;__u32&#39;<br>


 does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:362: error: &#39;__u8&#39;<br>does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:363: error: &#39;__u32&#39;<br>


 does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:364: error: &#39;__u32&#39;<br> does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:375: error: &#39;__u32&#39;<br>


 does not name a type<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function &#39;virtual void DvbDeviceThread::run()&#39;:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:107: error<br>


: &#39;pollfd&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:107: error<br>: expected &#39;;&#39; before &#39;pfds&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:108: error<br>


: &#39;pfds&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:111: error<br>: &#39;POLLIN&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:119: error<br>


: &#39;poll&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function &#39;virtual bool DvbLinuxDevice::setTone(DvbBackendDevice::SecTone)&#39;:<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:313: error<br>: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>

 function &#39;virtual bool DvbLinuxDevice::setVoltage(DvbBackendDevice::SecVoltage)<br>
&#39;:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:326: error<br>: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>


 function &#39;virtual bool DvbLinuxDevice::sendMessage(const char*, int)&#39;:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:340: error<br>: &#39;struct dvb_diseqc_master_cmd&#39; has no member named &#39;msg&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:341: error<br>: &#39;struct dvb_diseqc_master_cmd&#39; has no member named &#39;msg_len&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:343: error<br>


: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function &#39;virtual bool DvbLinuxDevice::sendBurst(DvbBackendDevice::SecBurst)&#39;:<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:356: error<br>: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>

 function &#39;virtual bool DvbLinuxDevice::tune(const DvbTransponder&amp;)&#39;:<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:511: error<br>: &#39;struct dvb_frontend_parameters&#39; has no member named &#39;frequency&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:513: error<br>


: &#39;struct dvb_qam_parameters&#39; has no member named &#39;symbol_rate&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:522: error<br>: &#39;struct dvb_frontend_parameters&#39; has no member named &#39;frequency&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:524: error<br>: &#39;struct dvb_qpsk_parameters&#39; has no member named &#39;symbol_rate&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:535: error<br>


: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:536: error<br>: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:537: error<br>: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:538: error<br>


: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:539: error<br>: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:540: error<br>: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:541: error<br>


: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:542: error<br>: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:543: error<br>: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:544: error<br>


: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:545: error<br>: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:546: error<br>: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:547: error<br>


: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:548: error<br>: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:549: error<br>: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:550: error<br>


: &#39;union dtv_property::&lt;anonymous&gt;&#39; has no member named &#39;data&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:551: error<br>: &#39;struct dtv_property&#39; has no member named &#39;cmd&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:556: error<br>: &#39;struct dtv_properties&#39; has no member named &#39;num&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:559: error<br>


: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:572: error<br>: &#39;struct dvb_frontend_parameters&#39; has no member named &#39;frequency&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:590: error<br>: &#39;struct dvb_frontend_parameters&#39; has no member named &#39;frequency&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:601: error<br>


: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function &#39;virtual int DvbLinuxDevice::getSignal()&#39;:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:617: error<br>


: &#39;__u16&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:617: error<br>: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>


 function &#39;virtual int DvbLinuxDevice::getSnr()&#39;:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:636: error<br>: &#39;__u16&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:636: error<br>


: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function &#39;virtual bool DvbLinuxDevice::isTuned()&#39;:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:656: error<br>


: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br> function &#39;virtual bool DvbLinuxDevice::addPidFilter(int)&#39;:<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:683: error<br>


: &#39;struct dmx_pes_filter_params&#39; has no member named &#39;pid&#39;<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:687: error<br>: &#39;struct dmx_pes_filter_params&#39; has no member named &#39;flags&#39;<br>


C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:689: error<br>: &#39;ioctl&#39; was not declared in this scope<br>C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In member<br>

 function &#39;bool DvbLinuxDevice::identifyDevice()&#39;:<br>
C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:747: error<br>: &#39;ioctl&#39; 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&#39; not remade becaus<br>e of errors.<br>mingw32-make[1]: *** [src/CMakeFiles/kaffeinedvb.dir/all] Error 2<br>mingw32-make[1]: Target `all&#39; not remade because of errors.<br>


mingw32-make: *** [all] Error 2<br>mingw32-make: Target `default_target&#39; not remade because of errors.<br><br><br>Thanks again,<br><font color="#888888">Andrius.<br>
</font></blockquote></div><br>