[MPlayer-users] windows build?

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Nov 2 01:58:29 CET 2007


Hi!

Ratin <ratin3 <at> gmail.com> writes:

> 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? 

Nothing useful, but could you test following inlined patch?

Carl Eugen

Index: libmpdemux/demux_rtp_internal.h
===================================================================
--- libmpdemux/demux_rtp_internal.h     (Revision 24928)
+++ libmpdemux/demux_rtp_internal.h     (Arbeitskopie)
@@ -19,7 +19,7 @@

 #ifndef _LIVEMEDIA_HH
 #undef STREAM_SEEK
-#include <liveMedia.hh>
+#include "liveMedia.hh"
 #endif

 // Codec-specific initialization routines:





More information about the MPlayer-users mailing list