【问题标题】:android ffmpeg compilation errorandroid ffmpeg 编译错误
【发布时间】:2013-10-01 13:45:55
【问题描述】:

我正在按照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

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

谢谢

【问题讨论】:

    标签: android android-ndk ffmpeg java-native-interface makefile


    【解决方案1】:

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

    【讨论】:

    • 谢谢@squauria。这是由于目录名称中的特殊字符造成的。我什至没有预料到这会是一个小问题,我以为会面临一些大问题:)
    • 来自上面的 mingw 链接:“它不喜欢的字符是:\” # $ & ' ` 和 0x0A(也称为 \n)。”
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-10
    • 2016-07-08
    • 2015-07-24
    • 2018-10-10
    相关资源
    最近更新 更多