User talk:Junfang wang

From VideoLAN Wiki
Jump to navigation Jump to search

Jb,

I am new to VLC and trying to build it by following the procedure "How to compile on Windows using Cygwin" and stuck at runing "configure-vlc.sh" with the following message. Would you help ?

Sincerely, Junfang


$ ./configure-vlc.sh configure: WARNING: unrecognized options: --with-caca-config-path configure: WARNING: If you wanted to set the --build type, don't use --host.

   If a cross compiler is detected then cross compile mode will be used.

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... no checking for strip... strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar 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 `/home/HNJ786/vlc': configure: error: C compiler cannot create executables See `config.log' for more details.


config.log shows the following:


checking how to create a ustar tar archive... gnutar This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by vlc configure 1.2.0-git, which was generated by GNU Autoconf 2.65. Invocation command line was

 $ ./configure --host=i686-pc-mingw32 --enable-nls --enable-sdl --with-sdl-conf

ig-path=/usr/win32/bin --enable-faad --enable-flac --enable-theora --enable-live 555 --with-live555-tree=/usr/win32/live.com --enable-caca --with-caca-config-pat h=/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

    1. --------- ##

"config.log" 1100 lines, 26482 characters


Mingw

Seriously, you really should use MingW to compile VLC. jb 08:01, 23 April 2010 (UTC)

=

Jb,

Appreciate your prompt.

Sincerely, Junfang