Replies: 2 comments 2 replies
-
Your build is not configured in a way to find the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. Yes I use the CMakeLists from the examples. I noticed that the included protobuf library (from foxglove-websocket::foxglove-websocket) uses version 3.21.12, so I downloaded that version of protoc compiler, compiled my .proto file again and included new .pb.cc and pb.h files in the project. Now the project compiles fine. So I'm guessing it was version mismatch. Btw, why does foxglove-websocket use such old protobuf lib version? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have an issue with changing example_server_protobuf.cpp to transmit .proto messages that I've defined.
I used protoc to create, and then copied myProto.pb.h and myProto.pb.cc files to foxglove-websocket/include/foxglove folder. Then I added
#include "foxglove/myProto.pb.h"
to example_server_protobuf.cpp. When I runnmake build
, I get error 'google/protobuf/runtime_version.h' file not found in myProto.pb.h.How can I solve this error and what is the correct way to change the example_server_protobuf.cpp?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions