3

Does anybody know what the following error message means?

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

I should say that I have just installed Google Protobuf.

Azeem
  • 11,148
  • 4
  • 27
  • 40
M R
  • 31
  • 5
  • 2
    Have you install Google Benchmark on your machine? You are supposed to have that installed before compiling your program. Google Benchmark: https://github.com/google/benchmark. – Azeem Apr 01 '18 at 06:22
  • @Azeem I installed Google benchmark but now I receive another error message: process.proto:1:10: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2". – M R Apr 01 '18 at 14:45
  • You have to install the correct version of protobuf also. – Azeem Apr 01 '18 at 15:22
  • @Azeem I have installed versions 2 and 3 but I receive still this error message. Should I do any other thing? Should I set some environment variables to set which version of protobuf is used? – M R Apr 01 '18 at 16:31
  • You can try by uninstalling the version you don't need. Kindly update your question with some more details about what you are trying to set up. Ideally, with all the steps that you have followed so far. That would help to understand your problem. – Azeem Apr 02 '18 at 03:27

0 Answers0