C++ Compilation issues propagating from google::protobuf::internal

16 views
Skip to first unread message

Matt Maloney

unread,
Oct 12, 2020, 10:02:08 AM10/12/20
to Protocol Buffers
Hi all,
I have been having difficulties trying to compile my project, when integrating protobuf.

Capture.PNG
I am using cmake to compile a project that uses the protobuf libraries. I am including protobuf_INCLUDE_DIR in my target include and libprotobuf and libprotobuf in my target link, in my cmakelists. The errors do not make me think any of this is the problem though. The errors do make me wonder if compiler flags are a problem, so I tried adding the '-std=c++11' flag. I thought this worked at first, but it turns out not to be the case.

Does anyone have an idea of what the problem might be?

Thank you all in advance!
Reply all
Reply to author
Forward
0 new messages