[MPlayer-users] windows build?

Ratin ratin3 at gmail.com
Fri Nov 2 00:19:33 CET 2007


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> 
> Do not use --enable-live if you need compilation support.
> 
> Better move the live directory to /usr/lib, /usr/local or /usr/local/lib.
> (As mentioned in live555's mplayer documentation.)
> 
> Carl Eugen
> 

Hi, thanks for your reply. I did the following: 

mratin at MRATIN-WXP /c/temp
$ copy -r live /usr/lib 


mratin at MRATIN-WXP /c/temp
$ cd MPlayer-1.0rc2

mratin at MRATIN-WXP /c/temp/MPlayer-1.0rc2
$ make distclean
./configure --prefix=/mingw --enable-static --enable-runtime-cpudetection --
enable-directx

mratin at MRATIN-WXP /c/temp/MPlayer-1.0rc2
$ make

configure finds live properly (as following)
Checking for LIVE555 Streaming Media libraries ... yes (using /usr/lib/live)

But compiler still throws errors:

gcc -g -pipe -I./libavcodec -I./libavformat -Wdisabled-optimization -
Wdeclaration-after-statement -I. -I. -I./libav                             
util -g -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H  -I../libavcodec I../libavformat -
Wdisabled-optimization Wdeclaration-after-statement -I. -I.. -I../libavutil -
g -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -
DHAVE_CONFIG_H -c -o demux_ogg.o demux_ogg.c

gcc -I. -I.. -I../libavutil -g -pipe -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -
D__STDC_LIMIT_MACROS -I/usr/lib/live/liveMedia/include -
I/usr/lib/live/UsageEnvironment/include -
I/usr/lib/live/BasicUsageEnvironment/include -
I/usr/lib/live/groupsock/include   -c -o demux_rtp.o demux_rtp.cpp

In file included from demux_rtp_internal.h:16,
                 from demux_rtp.cpp:12:
../libavcodec/avcodec.h:2248: warning: `ImgReSampleContext' is deprecated 
(declared at ../libavcodec/avcodec.h:2242                             )
../libavcodec/avcodec.h:2258: warning: `ImgReSampleContext' is deprecated 
(declared at ../libavcodec/avcodec.h:2242                             )
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:22:24: liveMedia.hh: No such file or directory
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:27: error: `MediaSubsession' has not been declared
demux_rtp_internal.h:27: error: ISO C++ forbids declaration of `subsession' 
with no type
......................................

I verified that the file livemedia.hh is in /usr/lib/live/liveMedia/include 

mratin at MRATIN-WXP /usr/lib/live/liveMedia/include
$ ls live*
liveMedia.hh  liveMedia_version.hh

Any ideas? 





More information about the MPlayer-users mailing list