2013-09-25 149 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