本文主要是介绍嵌入式交叉编译:x265,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
- 下载
multicoreware / x265_git / Downloads — Bitbucket
- 解压
- 编译
BUILD_DIR=${HOME}/build_libs
CROSS_NAME=aarch64-mix210-linuxcd build/aarch64-linuxmake cleancmake \-G "Unix Makefiles" \-DCMAKE_C_COMPILER=${CROSS_NAME}-gcc \-DCMAKE_CXX_COMPILER=${CROSS_NAME}-g++ \-DCMAKE_INSTALL_PREFIX="$BUILD_DIR" \-DENABLE_SHARED:bool=on \../../sourcemake -j16
make install
- 检查
file ${BUILD_DIR}/lib/libx265.so.209
build_libs/lib/libx265.so.209: ELF 64-bit LSB shared object, ARM aarch64, version 1 (GNU/Linux), dynamically linked, not stripped
这篇关于嵌入式交叉编译:x265的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!