[FFmpeg-user] compile ffmpeg in windows 8.1 problems

BC@︻$▆▇◤ 501931049 at qq.com
Thu Oct 24 03:59:58 CEST 2013


the mingw msys cmd returns:
  
 $ ./configure --enable-shared --disable-static --enable-memalign-hack

 gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
 If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
  
 i compiles in windows have to make it  cross-compiler?
  
 my mingw path:
 C:\MinGW
 C:\MinGW\msys\1.0
  
 i had add call cmd in msys.bat 
 call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
  
 and my config.log:
  
 WARNING: pkg-config not found, library detection may fail.
mktemp -u XXXXXX
zZigku
WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS
check_ld cc
check_cc
BEGIN /tmp/ffconf.zyjZRhRy.c
    1 int main(void){ return 0; }
END /tmp/ffconf.zyjZRhRy.c
gcc -c -o /tmp/ffconf.HLwPbRVK.o /tmp/ffconf.zyjZRhRy.c
./configure: line 754: gcc: command not found
C compiler test failed.
  
 it has two waring!
 Unknown C compiler gcc? i had install gcc 4.8.1-4 in mingw
 my ffmpeg download at github 
 git version 2013/10/24 7:18:37 Michael Niedermayer


More information about the ffmpeg-user mailing list