[MPlayer-cygwin] Re: win32 GUI

Joseph Miller joseph at tidetamerboatlifts.com
Sun Sep 12 21:10:35 CEST 2004


Sorry, to make a long story short, I thought that this issue would not affect 
anyone else.  In order to fix this, you have to link to commdlg.dll (in the 
system32 directory).  To do this, create a libcomdlg32.a with this command (I 
think) dlltool -D -u commdlg.dll -l libcomdlg32.a and place libcomdlg32.a in 
the root compile directory.  I have included the one that I created so maybe 
it will work.  Sorry for the confusion,

-Joseph

On Saturday 11 September 2004 3:48 pm, Diego Biurrun wrote:
> Song Du writes:
> > apply patches and extract tgz
> > add #define TTPLAYER to config.h
> > add GUI32=yes to config.mak
>
> Thanks, the #define helped.  Now I get the following error in the
> final linking stage, though:
>
> ttplayer/libttplayer.a(ttplayer.o)(.text+0x744): In function
> `WindowProcedure': /home/diego/mplayer/dev/ttplayer/ttplayer.c:195:
> undefined reference to `_GetOpenFileNameA at 4'
> ttplayer/libttplayer.a(ttplayer.o)(.text+0x841):/home/diego/mplayer/dev/ttp
>layer/ttplayer.c:195: undefined reference to `_GetOpenFileNameA at 4'
> ttplayer/libttplayer.a(ttplayer.o)(.text+0xb5f): In function
> `ttplayer_fileopen': /home/diego/mplayer/dev/ttplayer/ttplayer.c:195:
> undefined reference to `_GetOpenFileNameA at 4' collect2: ld returned 1 exit
> status
> make: *** [mplayer.exe] Error 1
>
> Diego
>
> _______________________________________________
> MPlayer-cygwin mailing list
> MPlayer-cygwin at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcomdlg32.a
Type: application/x-archive
Size: 1502 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20040912/c1a48480/attachment.bin>


More information about the MPlayer-cygwin mailing list