Hi
We are trying to compile VLC source code with Cygwin, but we have a lot of problems. Our only reference is
http://wiki.videolan.org/Win32CompileCygwinNew and we have followed all the instructions step by step.
When we tried to execute this:
tar xf contrib-20080702-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 -C /
We got the following error:
tar:contrib-20080702-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2: cannot open: No such file or directory
tar: Error is not recoverable:exiting now
So we used winrar to extract the archive. It made a folder named "usr" containing a folder named "win32". We copied the "win32" folder to the following address: C:\cygwin\usr
The next step was to execute the following command:
anlib /usr/win32/lib/lib*.a
but it cannot recognize some file formats and writes error messages below:
ranlib: /usr/win32/lib/libBasicUsageEnvironment.a: File format not recognized
ranlib: /usr/win32/lib/libUsageEnvironment.a: File format not recognized
ranlib: /usr/win32/lib/libliveMedia.a: File format not recognized
ranlib: /usr/win32/lib/libgroupsock.a: File format not recognized
So we cut out these files and our next try ended with no message of fail or success.
The next step is to configure script for compiling VLC by using these commands:
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 \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-avcodec --enable-avformat --enable-swscale \
--enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--enable-debug --enable-dca \
--disable-mkv --disable-taglib
And again we got following error:
bash: ./configure: No such file or directory
Our contrib has com from the following link:
http://www.jbkempf.com/~jb/contrib-2009 ... ly.tar.bz2
Please help us before it is too late