Kaffeine (almost) successful build on mswindows
Andrius da Costa Ribas
andriusmao at gmail.com
Sun Nov 1 20:12:17 CET 2009
Including kaffeine-devel list
--
Andrius
2009/11/1 Andrius da Costa Ribas <andriusmao at gmail.com>
> 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 )
>
> screenshot of kaffeine playing windows vista sample video butterfly.wmv
> (using mplayer backend):
> http://imagebin.ca/view/xHr9jvlF.html
>
> screenshot of about screen:
> http://imagebin.ca/view/6E6q1LIC.html
>
> 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 )
>
> @Christoph, is it time to change last question of FAQ? ;)
>
> some issues:
> - 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)
> - a small delay before starting video ( longer delay on first use ) ( I
> believe it's backend issue )
> - I'm not sure about konqueror and firefox kaffeine plugin
>
> Many thanks for all people who helped :)
>
> build log:
> C:\Users\Andrius\Desktop\kdetest\kaffeine\build>mingw32-make -k
> [ 0%] Built target kaffeine_automoc
> [ 4%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbdevice.obj
> [ 8%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbepg.obj
> [ 13%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbliveview.obj
> [ 17%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbmanager.obj
> [ 21%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbrecording.obj
> [ 26%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbscan.obj
> [ 30%] Building CXX object
> src/CMakeFiles/kaffeine.dir/dvb/dvbscandialog.obj
> [ 34%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbsi.obj
> [ 39%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbtab.obj
> [ 43%] Building CXX object
> src/CMakeFiles/kaffeine.dir/playlist/playlistmodel.ob
> j
> [ 47%] Building CXX object
> src/CMakeFiles/kaffeine.dir/playlist/playlisttab.obj
> [ 52%] Building CXX object src/CMakeFiles/kaffeine.dir/datetimeedit.obj
> [ 56%] Building CXX object src/CMakeFiles/kaffeine.dir/kaffeine.obj
> [ 60%] Building CXX object src/CMakeFiles/kaffeine.dir/main.obj
> [ 65%] Building CXX object src/CMakeFiles/kaffeine.dir/mediawidget.obj
> [ 69%] Building CXX object src/CMakeFiles/kaffeine.dir/osdwidget.obj
> [ 73%] Building CXX object src/CMakeFiles/kaffeine.dir/proxytreeview.obj
> Linking CXX executable ..\bin\kaffeine.exe
> [ 91%] Built target kaffeine
> [ 91%] Built target kaffeinedvb_automoc
> [ 95%] Building CXX object
> src/CMakeFiles/kaffeinedvb.dir/kaffeinedvb_automoc.ob
> j
> [100%] Building CXX object
> src/CMakeFiles/kaffeinedvb.dir/dvb/dvbdevice_linux.ob
> j
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:27:18:
> err
> or: poll.h: No such file or directory
> In file included from
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevic
> e_linux.cpp:23:
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:95: error: '__u8'
> does n
> ot name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:96: error: '__u8'
> does n
> ot name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:97: error: '__u8'
> does n
> ot name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:103: error: '__u16'
> does
> not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:105: error: '__u32'
> does
> not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:106: error: '__u32'
> does
> not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:116: error: '__u16'
> does
> not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:120: error: '__u32'
> does
> not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:124: error: '__u32'
> does
> not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/dmx.h:142: error: '__u64'
> does
> not name a type
> In file included from
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevic
> e_linux.cpp:26:
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:79: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:80: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:81: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:82: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:83: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:84: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:85: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:86: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:96: error:
> '__u8' d
> oes not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:97: error:
> '__u8' d
> oes not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:102: error:
> '__u8'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:103: error:
> '__u8'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:211: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:216: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:237: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:348: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:351: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:352: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:353: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:357: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:358: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:360: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:362: error:
> '__u8'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:363: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:364: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\include/frontend.h:375: error:
> '__u32'
> does not name a type
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual void DvbDeviceThread::run()':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:107:
> error
> : 'pollfd' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:107:
> error
> : expected ';' before 'pfds'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:108:
> error
> : 'pfds' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:111:
> error
> : 'POLLIN' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:119:
> error
> : 'poll' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual bool
> DvbLinuxDevice::setTone(DvbBackendDevice::SecTone)':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:313:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual bool
> DvbLinuxDevice::setVoltage(DvbBackendDevice::SecVoltage)
> ':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:326:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual bool DvbLinuxDevice::sendMessage(const char*, int)':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:340:
> error
> : 'struct dvb_diseqc_master_cmd' has no member named 'msg'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:341:
> error
> : 'struct dvb_diseqc_master_cmd' has no member named 'msg_len'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:343:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual bool
> DvbLinuxDevice::sendBurst(DvbBackendDevice::SecBurst)':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:356:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual bool DvbLinuxDevice::tune(const DvbTransponder&)':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:511:
> error
> : 'struct dvb_frontend_parameters' has no member named 'frequency'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:513:
> error
> : 'struct dvb_qam_parameters' has no member named 'symbol_rate'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:522:
> error
> : 'struct dvb_frontend_parameters' has no member named 'frequency'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:524:
> error
> : 'struct dvb_qpsk_parameters' has no member named 'symbol_rate'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:535:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:536:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:537:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:538:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:539:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:540:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:541:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:542:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:543:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:544:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:545:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:546:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:547:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:548:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:549:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:550:
> error
> : 'union dtv_property::<anonymous>' has no member named 'data'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:551:
> error
> : 'struct dtv_property' has no member named 'cmd'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:556:
> error
> : 'struct dtv_properties' has no member named 'num'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:559:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:572:
> error
> : 'struct dvb_frontend_parameters' has no member named 'frequency'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:590:
> error
> : 'struct dvb_frontend_parameters' has no member named 'frequency'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:601:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual int DvbLinuxDevice::getSignal()':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:617:
> error
> : '__u16' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:617:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual int DvbLinuxDevice::getSnr()':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:636:
> error
> : '__u16' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:636:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual bool DvbLinuxDevice::isTuned()':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:656:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'virtual bool DvbLinuxDevice::addPidFilter(int)':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:683:
> error
> : 'struct dmx_pes_filter_params' has no member named 'pid'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:687:
> error
> : 'struct dmx_pes_filter_params' has no member named 'flags'
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:689:
> error
> : 'ioctl' was not declared in this scope
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp: In
> member
> function 'bool DvbLinuxDevice::identifyDevice()':
> C:\Users\Andrius\Desktop\kdetest\kaffeine\src\dvb\dvbdevice_linux.cpp:747:
> error
> : 'ioctl' was not declared in this scope
> mingw32-make[2]: ***
> [src/CMakeFiles/kaffeinedvb.dir/dvb/dvbdevice_linux.obj] Er
> ror 1
> mingw32-make[2]: Target `src/CMakeFiles/kaffeinedvb.dir/build' not remade
> becaus
> e of errors.
> mingw32-make[1]: *** [src/CMakeFiles/kaffeinedvb.dir/all] Error 2
> mingw32-make[1]: Target `all' not remade because of errors.
> mingw32-make: *** [all] Error 2
> mingw32-make: Target `default_target' not remade because of errors.
>
>
> Thanks again,
> Andrius.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20091101/8c43e7ec/attachment-0001.htm
More information about the Kde-windows
mailing list