编译和安装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