gpt4 book ai didi

android - 在 x86 中为 android 平台构建 openh264

转载 作者:太空狗 更新时间:2023-10-29 16:33:38 38 4
gpt4 key购买 nike

我正在尝试使用以下命令为 android 构建 openh264:

 $ make OS=android NDKROOT=/Users/nazmulhasan/android-ndk-r10d TARGET=android-17 ARCH=x86

出现以下错误:

/Users/nazmulhasan/android-ndk-r10d/toolchains/x86-4.8/prebuilt/darwin-x86/bin/../lib/gcc/i686-linux-android/4.8/../../../../i686-linux-android/bin/ld: error: codec/common/cpu-features.o: incompatible target
codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsQueryLogicalProcessInfo: error: undefined reference to 'wels_getCpuCount'

最佳答案

尝试

make install OS=android NDKROOT=/Users/nazmulhasan/android-ndk-r10d TARGET=android-21 ARCH=x86

或者 安装 OS=android NDKROOT=/Users/nazmulhasan/android-ndk-r10d TARGET=android-17 ARCH=x86

关于android - 在 x86 中为 android 平台构建 openh264,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33609890/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com