安卓ffmpeg编译错误

3
我正在按照 AndroidFFmpeg 的步骤为 Android 编译 FFmpeg。当我输入命令 ./build_android.sh 时,我遇到了以下错误。
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: &
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ffmpeg/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/../ffmpeg-build/armeabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... 
configure: error: unsafe absolute working directory name

我完全不知道出了什么问题。需要一点帮助。

谢谢。

1个回答

4

谢谢 @squauria。这是由于目录名称中的特殊字符引起的。我甚至没有预料到这只是一个小问题,我原以为会遇到一些大问题 :) - aqavi_paracha
从上面的mingw链接中:“它不喜欢的字符是:\ "#$&'`和0x0A(也称为\n)。” - jacanterbury

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接