小编nul*_*ull的帖子

使用android ndk r5b编译ffmpeg

使用android ndk r5b编译ffmpeg.

ffmpeg 0.6.1

android ndk r5b

cygwin 1.7

建立参考网址:http://www.cnblogs.com/scottwong/archive/2010/12/17/1909455.html

但是,ffmpeg ./configure结果错误!(在config.err文件下面)

check_cc
BEGIN /tmp/ffconf.GlDiY1P8.c
    1   int main(void){ return 0; }
END /tmp/ffconf.GlDiY1P8.c
/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/windows/bin/arm-eabi-gcc -fPIC -DANDROID -c -o /tmp/ffconf.1kQLpGaU.o /tmp/ffconf.GlDiY1P8.c
arm-eabi-gcc.exe: /tmp/ffconf.GlDiY1P8.c: No such file or directory

arm-eabi-gcc.exe: no input files

C compiler test failed.
Run Code Online (Sandbox Code Playgroud)

所以,我只是尝试测试代码.

// test.c code
int main(){
  return 0;
}
Run Code Online (Sandbox Code Playgroud)

/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/windows/bin/arm-eabi-gcc -fPIC -DANDROID -c -o ./test.o ./test.c

好!!!!没问题.

但是,cp ./test.c/tmp(复制到/ tmp)

/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/windows/bin/arm-eabi-gcc -fPIC -DANDROID -c -o ./test.o /tmp/test.c

arm-eabi-gcc.exe: /tmp/test.c: No such …
Run Code Online (Sandbox Code Playgroud)

android ffmpeg configure android-ndk

7
推荐指数
2
解决办法
8405
查看次数

标签 统计

android ×1

android-ndk ×1

configure ×1

ffmpeg ×1