在x86中为Android平台构建openh264 [英] building openh264 for android platform in x86

查看:247
本文介绍了在x86中为Android平台构建openh264的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to build openh264 for android with following command :

 $ 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

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

这篇关于在x86中为Android平台构建openh264的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆