Protocol buffers 致命错误:benchmark/benchmark.h:没有这样的文件或目录

Protocol buffers 致命错误:benchmark/benchmark.h:没有这样的文件或目录,protocol-buffers,fatal-error,google-benchmark,Protocol Buffers,Fatal Error,Google Benchmark,有人知道下面的错误消息是什么意思吗 fatal error: benchmark/benchmark.h: No such file or directory #include benchmark/benchmark.h/ 我应该说我刚刚安装了Google Protobuf。您的机器上安装了Google Benchmark吗?您应该在编译程序之前安装它。Google Benchmark:.@Azeem我安装了Google Benchmark,但现在我收到另一条错误消息:process.prot

有人知道下面的错误消息是什么意思吗

fatal error: benchmark/benchmark.h: No such file or directory
#include benchmark/benchmark.h/

我应该说我刚刚安装了Google Protobuf。

您的机器上安装了Google Benchmark吗?您应该在编译程序之前安装它。Google Benchmark:.@Azeem我安装了Google Benchmark,但现在我收到另一条错误消息:process.proto:1:10:无法识别的语法标识符“proto3”。此解析器仅识别“proto2”。您还必须安装protobuf的正确版本。@Azem我已安装了版本2和版本3,但仍收到此错误消息。我应该做些别的事情吗?我应该设置一些环境变量来设置使用哪个版本的protobuf吗?您可以尝试卸载不需要的版本。请更新您的问题,并提供有关您尝试设置的更多详细信息。理想情况下,你已经完成了所有的步骤。这将有助于理解你的问题。