[MPlayer-cygwin] Build problems
Chris Taylor
chris at equate.dyndns.org
Fri Sep 10 12:10:54 CEST 2004
On Thu, September 9, 2004 8:05 pm, Alex Birkett said:
> I am having some problems building mplayer against cygwin. The same
> problem occurs if I build the latest sources from the CVS or the
> MPlayer-1.0pre5 release. Here is the output from make:
>
>
> cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3
> -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BI
> TS=64 -D__CYGWIN__ -Ilibmpdemux -Iloader -Ilibvo
> -I/usr/include/freetype2 -I/usr/X11R6/include -o mplayer.exe
> mplayer.o mp_msg.o cpudetect.o codec-cfg .o spudec.o playtree.o
> playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o
> m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o pa
> rser-mpcmd.o osdep/mplayer-rc.o libvo/libvo.a libao2/libao2.a
> vidix/libvidix.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a
> liba52/liba52.a libmpeg2/libmpeg2.a libaf/libaf.a libmpdemux/libmpdemux.a
> input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2
> -lmpdvdkit
> libavcodec/libavcodec.a -lpng -lz -lz -ljpeg -lfreetype -lz
> -ltermcap -lwinmm -lungif
> -lfontconfig libfaad2/libfaad2.a -lGL -L/usr/X11R6/lib -lXext
> -lX11 -L/us
> r/lib -lesd -laudiofile -lm -liconv -lintl -lm
> libvo/libvo.a(vo_winvidix.o)(.text+0x82):vo_winvidix.c: undefined
> reference to `_GetDeviceCaps at 8'
> libvo/libvo.a(vo_winvidix.o)(.text+0x281):vo_winvidix.c: undefined
> reference to `_CreateSolidBrush at 4'
> libvo/libvo.a(vo_winvidix.o)(.text+0x31d):vo_winvidix.c: undefined
> reference to `_CreateSolidBrush at 4' collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error 1
>
>
> The functions CreateSolidBrush and GetDeviceCaps are implemented in
> libgdi32.a but I am not sure how to make mplayer link against it.
>
> Has anyone seen this before? Any ideas?
>
I note that the error is occuring while it's dealing with winvidix
support... Did you follow the instructions for dhahelper on
http://www.mplayerhq.hu/DOCS/HTML/en/windows.html ?
If not, this could be why...
--
<JHM> AIX - the Unix from the universe where Spock has a beard.
More information about the MPlayer-cygwin
mailing list