yy2bbs 发表于 2020-5-10 16:29:21

编译用到x264时出错

想给 cmd/opencv 下加一个264编码功能,编译时失败了
opt/aarch64/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/real-ld: /tmp/ccvhwKst.o: undefined reference to symbol 'x264_encoder_close'
/opt/aarch64/sysroots/aarch64-poky-linux/usr/lib/libx264.so.152: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** 错误 1

xhh 发表于 2020-6-5 15:40:46

https://stackoverflow.com/questions/11838456/undefined-reference-to-x264-encoder-open-125针对您的报错在网上查找了一下您可以看看是否对您有帮助
页: [1]
查看完整版本: 编译用到x264时出错