[MPlayer-cygwin] Compilation options and tips

christophe.perinaud@free.fr free at prozaque.mine.nu
Fri Aug 22 09:02:54 CEST 2003


Hi,

I am able to compile mplayer now. I used that options to configure it :
configure --with-codecsdir=./codecs --datadir=. --with-win32libdir=./codecs

Just i still have few pbs with it :
- For some videos it can't find the codecs. Mplayer is installed in his own directory. With all codecs in a subfolder (named codecs) and configuration files in another subfolder (named mplayer). I am using the extralite pack and the latest win32 dll pack and codecs.conf from the etc folder.
- I would like to enable OSD so i used the --enable-menu with the configure script. I get a compilation error in the subfolder libmenu :
gcc -c -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../libmpcodecs  -Wall  -o menu_console.o menu_console.c
menu_console.c:10:22: sys/wait.h: No such file or directory
menu_console.c: In function `check_child':
menu_console.c:226: `fd_set' undeclared (first use in this function)
menu_console.c:226: (Each undeclared identifier is reported only once
menu_console.c:226: for each function it appears in.)
menu_console.c:226: parse error before "rfd"
menu_console.c:236: warning: implicit declaration of function `FD_ZERO'
menu_console.c:236: `rfd' undeclared (first use in this function)
menu_console.c:237: warning: implicit declaration of function `FD_SET'
menu_console.c:240: warning: implicit declaration of function `select'
menu_console.c:242: warning: implicit declaration of function `waitpid'
menu_console.c:242: `WNOHANG' undeclared (first use in this function)
menu_console.c:259: warning: implicit declaration of function `FD_ISSET'
menu_console.c: In function `run_shell_cmd':
menu_console.c:285: warning: implicit declaration of function `pipe'
menu_console.c:289: warning: implicit declaration of function `fork'
menu_console.c: At top level:
menu_console.c:442: conflicting types for `open'
f:/mingw/include/io.h:264: previous declaration of `open'
make[1]: *** [menu_console.o] Error 1
make[1]: Leaving directory `/home/CPR/MPlayer-20030820/libmenu'
make: *** [libmenu/libmenu.a] Error 2

I hope i gave you enought details.
Thank you all

Chris



More information about the MPlayer-cygwin mailing list