configure error on windows xp

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jaykar
New Cone
New Cone
Posts: 4
Joined: 06 Jun 2008 10:46

configure error on windows xp

Postby jaykar » 17 Feb 2011 15:29

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: configure error on windows xp

Postby Jean-Baptiste Kempf » 17 Feb 2011 17:59

Do not use cygwin. Use MSys.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 200 guests