/usr/bin/ld: warning: libprotobuf.so.17, needed by /home/gaoithe/project/python/code/Lidar_AI_Solution/CUDA-CenterPoint/3rdparty/libspconv/lib/x86_64/libspconv.so, not found (try using -rpath or -rpath-link)
usr/bin/ld: /home/gaoithe/project/python/code/Lidar_AI_Solution/CUDA-CenterPoint/3rdparty/libspconv/lib/x86_64/libspconv.so: undefined reference to `google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)'
 

解决方法:

wget https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protobuf-cpp-3.6.1.tar.gz
tar -xzvf protobuf-cpp-3.6.1.tar.gz
cd protobuf-3.6.1

./configure
make
sudo make install

配置 LD_LIBRARY_PATH

Logo

开源鸿蒙跨平台开发社区汇聚开发者与厂商,共建“一次开发,多端部署”的开源生态,致力于降低跨端开发门槛,推动万物智联创新。

更多推荐