Building VLC on windows
Posted: 22 Mar 2014 15:49
Hello,
I am following this guide: https://wiki.videolan.org/Win32CompileCygwinNew/
to compile vlc using cygwin.
I get error in the configure step, when I run this command: ./configure-vlc.sh
How can I solve this?
Thanks!
This is the error i get:
This is what I found in the config.log
I am following this guide: https://wiki.videolan.org/Win32CompileCygwinNew/
to compile vlc using cygwin.
I get error in the configure step, when I run this command: ./configure-vlc.sh
How can I solve this?
Thanks!
This is the error i get:
Code: Select all
$ ./configure-vlc.sh
configure: WARNING: unrecognized options: --with-sdl-config-path, --with-live555-tree, --with-caca-config-path, --with-dvdnav- config-path, --disable-dirac
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-pc-mingw32-strip... i686-pc-mingw32-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1001' is supported by ustar format... yes
checking whether GID '513' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for i686-pc-mingw32-gcc... gcc -mno-cygwin
checking whether the C compiler works... no
configure: error: in `/cygdrive/c/VideoLan/vlc':
configure: error: C compiler cannot create executables
See `config.log' for more details
This is what I found in the config.log
Code: Select all
gcc: error: unrecognized command line option '-mno-cygwin'
configure:5524: $? = 0
configure:5513: gcc -mno-cygwin -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.2/lto-wrapper.exe
gcc: error: unrecognized command line option '-mno-cygwin'
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.2-2/src/gcc-4.8.2/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.2-2/src/gcc-4.8.2 --prefix=/usr --exec-prefix=/usr --bin
dir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/shar
e/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shar
ed --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disa
ble-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enabl
e-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/j
ava/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib
Thread model: posix
gcc version 4.8.2 (GCC)
configure:5524: $? = 0
configure:5513: gcc -mno-cygwin -V >&5
gcc: error: unrecognized command line option '-mno-cygwin'
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5524: $? = 1
configure:5513: gcc -mno-cygwin -qversion >&5
gcc: error: unrecognized command line option '-mno-cygwin'
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:5524: $? = 1
configure:5544: checking whether the C compiler works
configure:5566: gcc -mno-cygwin -I/usr/win32/include -I/usr/win32/include/ebml -L/usr/win32/lib conftest.c >&5
gcc: error: unrecognized command line option '-mno-cygwin'
configure:5570: $? = 1
configure:5608: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "vlc"
| #define PACKAGE_TARNAME "vlc"
| #define PACKAGE_VERSION "2.2.0-git"
| #define PACKAGE_STRING "vlc 2.2.0-git"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "vlc"
| #define VERSION "2.2.0-git"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5613: error: in `/cygdrive/c/VideoLan/vlc':
configure:5615: error: C compiler cannot create executables
See `config.log' for more details