[vlc] Re: Still compilation problem on Win32...

CUTMAN ~CW~ cutmancw at hotmail.com
Thu Jul 14 03:44:53 CEST 2005


>From: Gildas Bazin <gbazin at videolan.org>
>Reply-To: vlc at videolan.org
>To: vlc at videolan.org
>Subject: [vlc] Re: Still compilation problem on Win32...
>Date: Tue, 12 Jul 2005 20:26:58 +0100
>
>On Tuesday 12 July 2005 09:02, Andreas Olsson wrote:
> > Hi,
> >
> > A few days ago I posted an issue with compilation problem in udp.c. With 
>a
> > more recent snapshot that was solved. However I still have problems
> > compiling on Win32 with cygwin. I follow the INSTALL.win32 and get:
> >
> > windres: share/vlc_win32_rc.rc:15: syntax error
> > make[2]: *** [share/vlc_win32_rc.o] Error 1
> >
> > I found a suggestion to modify vlc_win32_rc.rc to this:
> >
> > #define VERSION_NUMBER 0,0,0,0
> > VLC_ICON ICON "vlc48x48new.ico"
> > #ifndef VERSION_NUMBER
> > #define VERSION_NUMBER 0,0,0,0
> > #endif
> > ...
> >
> > But still the compilation fails! Now there is no to me obvious error
>message
> > (see below). Can someone please help me?
> >
> > ...
> > Making all in .
> > make[2]: Entering directory `/cygdrive/c/dev/vlc-snapshot-20050711'
> > windres -DVERSION=snapshot-20050711 -DVERSION_NUMBER=`echo
> > snapshot-20050711.0.0
> > .0 | sed
> > 's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\
> > 1,\2,\3,\4/'` --include-dir ./share -i share/vlc_win32_rc.rc -o
> > share/vlc_win32_
> > rc.o
> > share/vlc_win32_rc.rc:1:1: warning: "VERSION_NUMBER" redefined
> > <command line>:8:1: warning: this is the location of the previous
>definition
> > g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe
> > -L/usr/
> > win32/lib -o vlc.exe src/vlc-vlc.o lib/libvlc.a share/vlc_win32_rc.o
> > ./modules/m
> > isc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a
> > ./modules/vid
> > eo_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a
> > ./modules
> > /video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a
> > ./modul
> > es/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblivedotcom.a
> > ./modules/mux/mpeg
> > /libmux_ts.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a
> > ./modul
> > es/stream_out/libstream_out_switcher.a -L/usr/local/lib -g -lkernel32
> > /usr/win32
> > /lib/libiconv.a /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a
>-lws2_32
> > -lne
> > tapi32 -lwinmm -mwindows -L/usr/win32/lib
> > -L/usr/win32/live.com/UsageEnvironment
> > -lUsageEnvironment -L/usr/win32/live.com/groupsock -lgroupsock
> > -L/usr/win32/liv
> > e.com/BasicUsageEnvironment -lBasicUsageEnvironment
> > -L/usr/win32/live.com/liveMe
> > dia -lliveMedia -lws2_32 -ldvbpsi -lz -lmatroska -lebml -lavformat -lz
> > -lavcodec
> > -lz -lfaac -lmp3lame
> > /usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:
>(.text$_ZNSt14__simple_alloc
> >
>IPKN11libmatroska13KaxBlockGroupESt24__default_alloc_templateILb1ELi0EEE8allocat
> > eEj[std::__simple_alloc<libmatroska::KaxBlockGroup const*,
> > std::__default_alloc_
> > template<true, 0> >::allocate(unsigned int)]+0x1d): undefined reference 
>to
> > `std:
>...
>
>That's because the GCC c++ abi (application binary interface) has changed
>again so the C++ libraries provided in our binary contrib package won't
>work with your version of GCC (cygwin updated their GCC recently).
>
>The fix will be to compile libebml/libmatroska/liveMedia yourself (or
>alternatively disable them in your ./configure line with
>--disable-livedotcom --disable-mkv).
>
>--
>Gildas
>
>--
>This is the vlc mailing-list, see http://www.videolan.org/vlc/
>To unsubscribe, please read http://www.videolan.org/support/lists.html
>

you could downgrade gcc to 3.3.1(or 3.3.3)

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list