美文网首页系统编译那些事情
解决ubuntu编译aosp报错问题:error while l

解决ubuntu编译aosp报错问题:error while l

作者: andy_shx | 来源:发表于2020-07-27 14:04 被阅读0次

    报错如下:

    FAILED: out/target/product/generic_arm64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc
    /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript64-linux-android -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -DARCH_ARM64_HAVE_NEON -x renderscript frameworks/rs/driver/runtime/rs_allocation.c -o out/target/product/generic_arm64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc"
    prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    

    解决方案:安装libncurses5解决,命令如下

    sudo apt install libncurses5
    

    相关文章

      网友评论

        本文标题:解决ubuntu编译aosp报错问题:error while l

        本文链接:https://www.haomeiwen.com/subject/nxszlktx.html