cygwin下编译ffmpeg执行./config通不过
在执行./config.sh之前,export TMPDIR=c:/cygwin/tmp 设置临时目录
$ ./config.sh
cygwin warning:
MS-DOS style path detected: c:/cygwin/tmp/ffconf.3cT2wgQs
Preferred POSIX equivalent is: /tmp/ffconf.3cT2wgQs
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
/home/Bean/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windo
ws/bin/arm-linux-androideabi-gcc is unable to create an executable file.
C compiler test failed.
下面是
WARNING: /home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
mktemp -u XXXXXX
kX2WQg
check_ld
check_cc
BEGIN c:/cygwin/tmp/ffconf.pratD0oD.c
1 int main(void){ return 0; }
END c:/cygwin/tmp/ffconf.pratD0oD.c
/home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc -fPIC -DANDROID -c -o c:/cygwin/tmp/ffconf.qkUSKIhz.o c:/cygwin/tmp/ffconf.pratD0oD.c
/home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc -Wl,-T,/home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/arm-linux-androideabi/lib/ldscripts/armelf.x -Wl,-rpath-link=/home/kenny/android-ndk-r6b/platforms/android-8/arch-arm/usr/lib -L/home/kenny/android-ndk-r6b/platforms/android-8/arch-arm/usr/lib -nostdlib /home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/crtbegin.o /home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/crtend.o -lc -lm -ldl -o c:/cygwin/tmp/ffconf.0AKElAfO c:/cygwin/tmp/ffconf.qkUSKIhz.o
arm-linux-androideabi-gcc.exe: /home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/crtbegin.o: No such file or directory
arm-linux-androideabi-gcc.exe: /home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/crtend.o: No such file or directory
C compiler test failed.
PREBUILT=/home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows
PLATFORM=/home/kenny/android-ndk-r6b/platforms/android-8/arch-arm
设置成绝对路径就好了比方说D:/home/....