[MPlayer-users] Build error MinGW/VCD

Roberto Togni rxt at rtogni.it
Sat Aug 29 21:37:10 CEST 2015

On Sat, 29 Aug 2015 13:40:24 -0400
Josh <joshf87 at live.com> wrote:

> I'm unable to build with VCD enabled in the latest SVN under 
> MinGW-w64/GCC 4.9.3. I am using libcdio 0.93/paranoia 10.2+0.93. I was 
> using 0.83 thinking that was the problem but updating to 0.93 didn't 
> change anything. Here are the log files if they are needed: 
> http://mplayerwin.sourceforge.net/misc/mpl-bin-r37465/buildinfo/
> stream/stream_vcd.c: In function 'close_s':
> stream/stream_vcd.c:131:3: error: implicit declaration of function 
> 'cdio_destroy' [-Werror=implicit-function-declaration]
>     cdio_destroy(vcd->cdio);
>     ^
> stream/stream_vcd.c:131:19: error: 'mp_vcd_priv_t' has no member named 
> 'cdio'
>     cdio_destroy(vcd->cdio);
>                     ^
> stream/stream_vcd.c: In function 'open_s':
> stream/stream_vcd.c:154:3: error: unknown type name 'CdIo'
>     CdIo *cdio;
>     ^
> stream/stream_vcd.c:211:8: error: 'mp_vcd_priv_t' has no member named 'cdio'
>       vcd->cdio = cdio;
>          ^
> cc1.exe: some warnings being treated as errors
> Makefile:731: recipe for target 'stream/stream_vcd.o' failed
> make: *** [stream/stream_vcd.o] Error 1
The attached patch may fix it for you, but it's probably not the best
fix (you lose the new functionalities about playing video CDs with
libcdio, even if I have no idea if that may work in Windows).

Please test, if it works I will commit it while waiting for a bet fix.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream_vcd_tempfix.diff
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20150829/7512438a/attachment.bin>

More information about the MPlayer-users mailing list