Re: [protobuf] [libprotobuf ERROR google/protobuf/message_lite.cc:118] Can't parse message of type "RegisterWatcherResponse" because it is missing required fields: rc

2017-06-18 Thread Marc Gravell
(I'm assumig the "optional" isn't there in the real example) You can't simply change between proto2 and proto3. In proto3 everything is optional with an implicit zero default. This is fundamentally incompatible with consumers who have a "required" expectation **unless** you happen to never send

[protobuf] Re: Link error when building protobuf 3.0.0-beta1 with -DBUILD_SHARED_LIBS=ON

2017-06-18 Thread Nehal J Wani
I managed to get fix this by applying the following patch: https://github.com/google/protobuf/commit/a101fa52895fc2ad83d8b5d610243531b1608a08.patch On Thursday, October 8, 2015 at 2:13:56 AM UTC+5:30, Benjamin Tillman wrote: > > Hello, when trying to compile protobuf 3.0.0-beta1 with >