参考文章https://blog.csdn.net/aaa123524457/article/details/80592915
举例
切换到cartographer-master目录下,生成pb.cc和pb.h文件
protoc -I=/home/peak/Downloads/cartographer-master/ --cpp_out=/home/peak/Down
参考文章https://blog.csdn.net/aaa123524457/article/details/80592915
举例
切换到cartographer-master目录下,生成pb.cc和pb.h文件
protoc -I=/home/peak/Downloads/cartographer-master/ --cpp_out=/home/peak/Down