Page 1 of 1

configure error on windows xp

Posted: 17 Feb 2011 15:29
by jaykar
Hi all,

I am trying to compile VLC on windows using cygwin.But I have end up with configure erros.Here are the steps followed for compilation.

1.Downloaded the setup.exe for cygwin & installed as per instructions.
2.Downloaded the source for VLC-1.1-.6 version. using git tool connection gets times out frequently.so downloaded manually.
3.did bootstrap from cygwin ./bootstrap
4.downloaded the required 3rd party libs contrib-20100616-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2 & extracted it.
5.use the Script for compilation as its mentione din wiki.videolan.website. below script is saved in configure.sh
PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--host=i686-pc-mingw32 \
--enable-nls \
--enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-faad --enable-flac --enable-theora \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--enable-goom \
--enable-dvdread \
--enable-debug --disable-optimizations \
--disable-mkv --disable-taglib --disable-zvbi --disable-dirac --disable-x264 --disable-fluidsynth
6.passed the command ./configure.sh .It gives an error c compiler cannot create executables


If basic ./configure command is passed it gives error configure error: -mno -cygwin requires


Please can some one help me in compiling the VLC source.Its urgent.

Thanks in advance.

Re: configure error on windows xp

Posted: 17 Feb 2011 17:59
by Jean-Baptiste Kempf
Do not use cygwin. Use MSys.