编译和安装x265
下载链接:
http://ftp.videolan.org/pub/videolan/x265/
选择最新版本x265_2.1.tar.gz
tar -xzf x265_2.1.tar.gz
$ cd x265/build/linux
$ ./make-Makefiles.bash
编译报错:
encoder/CMakeFiles/encoder.dir/api.cpp.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `stderr@@GLIBC_2.17’ which may bind externally can not be used when making a shared object; recompile with -fPIC

如果禁用enable-shared之后,#移动到黄色 回车 在按c 配置 g保存
$ make && make install
本文介绍如何从源码编译并安装x265视频编码库。首先从指定链接下载最新版本x265_2.1.tar.gz,解压后进入build/linux目录运行make-Makefiles.bash。解决编译时出现的relocation错误,通过禁用enable-shared选项后完成编译安装。

被折叠的 条评论
为什么被折叠?



