[MPlayer-users] mplayer directx error on windows
Vinay Reddy
vinayvinay at gmail.com
Mon Aug 20 23:52:24 CEST 2007
Thanks for pointing me to the documentation... I still get the
following error at the end of make:
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m
-pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6
4 -D__CYGWIN__ -Ic -I/mingw/include -I. -I./libavutil -I./libavcodec -o mplaye
r.exe mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o
find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreepars
er.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o su
bopt-helper.o osdep/mplayer-rc.o libvo/libvo.a libao2/libao2.a input/libinput.a
libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream
.a libswscale/libswscale.a osdep/libosdep.a -Lc -L/mingw/lib -Llibmpdvdkit2 -lmp
dvdkit libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.
a libpostproc/libpostproc.a -lz -ltermcap -lgdi32 -lgdi32
-lwinmm -liconv -lm libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba
52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a -lopengl32 -lgdi32
vidix/libvidix.a
libvo/libvo.a(font_load.o):font_load.c:(.text+0xc54): undefined reference to `__
imp___iob'
libvo/libvo.a(vo_winvidix.o):vo_winvidix.c:(.text+0x453): undefined reference to
`__errno'
libvo/libvo.a(vo_cvidix.o):vo_cvidix.c:(.text+0xe5): undefined reference to `__e
rrno'
libvo/libvo.a(vo_md5sum.o):vo_md5sum.c:(.text+0x173): undefined reference to `__
errno'
libvo/libvo.a(vosub_vidix.o):vosub_vidix.c:(.text+0x1661): undefined reference t
o `__stricmp'
libvo/libvo.a(vosub_vidix.o):vosub_vidix.c:(.text+0x16e1): undefined reference t
o `__stricmp'
libvo/libvo.a(vosub_vidix.o):vosub_vidix.c:(.text+0x1851): undefined reference t
o `__stricmp'
libvo/libvo.a(vosub_vidix.o):vosub_vidix.c:(.text+0x1879): undefined reference t
o `__stricmp'
libvo/libvo.a(vosub_vidix.o):vosub_vidix.c:(.text+0x18a6): undefined reference t
o `__stricmp'
libvo/libvo.a(vosub_vidix.o):vosub_vidix.c:(.text+0x190a): more undefined refere
nces to `__stricmp' follow
collect2: ld returned 1 exit status
make: *** [mplayer.exe] Error 1
Are there any other libraries that I need to install? I installed
pretty much everything under cygwin.
Thanks,
Vinay
On 8/20/07, Henry Garcia <defsyn at gmail.com> wrote:
> When all else fails, read the instructions: i.e avoid the ugly.
>
> > Step 2 directx headers
> >
> > Get the directx header package at
> >
> http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/dx7headers.tgz
> >
>
> > Extract the headers and move them to your mingw inlucde dir
> (c:\mingw\include)
> > To do this use the following commands in your msys shell
> >
> > tar -xvvzf dx7headers.tgz
> > mv *.h c:/mingw/include
> >
>
> Follow the instructions.
>
> http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt
>
>
> On 8/20/07, Vinay Reddy <vinayvinay at gmail.com> wrote:
> >
> > Hi,
> > I tried building mplayer (1.0rc1) on windows (with --enable-directx),
> > and got the following error:
> >
> > cc -c -I. -I.. -Wdeclaration-after-statement -fno-PIC -O4
> > -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> > -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_O
> > FFSET_BITS=64 -D__CYGWIN__ -o ao_dsound.o ao_dsound.c
> > ao_dsound.c:29:20: dsound.h: No such file or directory
> > ao_dsound.c:113: error: parse error before "hds"
> >
> > I had the DirectX SDK, so I ended up pasting the header files into the
> > libao2 and libvo directories (I know it's an ugly solution...) and the
> > compile succeeded. But, when I try to open a file using the "-vo
> > directx" option, I get an error saying:
> > Error opening/initializing the selected video_out (vo) device.
> >
> > Can anyone help me out?
> >
> > Thanks,
> > Vinay
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> >
>
>
More information about the MPlayer-users
mailing list