2013-09-25 146 views
2

我按照AndroidFFmpeg的步骤编译Android的FFmpeg。当我输入./build_android.sh时,出现以下错误。android ffmpeg编译错误

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 

我没有得到任何问题的线索。需要一点帮助

谢谢

回答

3

这个链接可能是非常有用的。 http://mingw-users.1079350.n2.nabble.com/configure-error-unsafe-absolute-working-directory-name-td7462094.html 显然,错误是由于目录名称中的反斜杠或其他特殊字符。

+0

谢谢@squauria。这是由于目录名称中的特殊字符。我甚至没有预料到这会是这个小问题,我认为是面临一些主要问题:) –

+0

从上面的mingw链接:“它所憎恶的字符是: \”#$&'' 和0x0A(也被称为\ n)。“ – jacanterbury