报错:
/opt/ti/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/aarch64-none-linux-gnu/9.2.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find -lprotobuf
原因:CMakeLists.txt 中 用set(PROTO protobuf)
修改为存放protobuf库的绝对路径即可
报错:
/opt/ti/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/aarch64-none-linux-gnu/9.2.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find -lprotobuf
原因:CMakeLists.txt 中 用set(PROTO protobuf)
修改为存放protobuf库的绝对路径即可