[protobuf] Re: dynamic generation of proto objects and the error: Assignment not allowed to composite field

2017-03-03 Thread 'Tom Lichtenberg' via Protocol Buffers
One other thing I am now trying is to take the task_instance object and call SerializeToString() on it, then use task_info_instance.MergeFromString(serialized_task_instance) this is not raising any exception and does seem to be setting the field, but I'm not entirely convinced yet On Friday,

[protobuf] dynamic generation of proto objects and the error: Assignment not allowed to composite field

2017-03-03 Thread 'Tom Lichtenberg' via Protocol Buffers
I’m trying to dynamically create objects from discovery of pb2 generated protobuf files and assign appropriate values to their fields. If the field types are simple, this is straightforward - e.g. for TYPE_BOOL, setattr(obj, “field_name”, True) works fine - but if the field is TYPE_MESSAGE,

Re: [protobuf] OpenBSD 6.0 make check fails/core dumped

2017-03-03 Thread Rolf Sommerhalder
On Friday, March 3, 2017 at 4:57:39 PM UTC+1, Rolf Sommerhalder wrote: > > However, my attempts with v3.1.0 fail as it had not the patch for OpenBSD > yet, and make of v3.2.0 as well as of Master fail quite early, as follows: > Sorry, I have posted the wrong output, e.g. the error which make

Re: [protobuf] OpenBSD 6.0 make check fails/core dumped

2017-03-03 Thread Rolf Sommerhalder
Hello, In the meantime, did anyone manage to build Protobuf3 on OpenBSD 6.0 amd64, or -current? I have tried to build Protobuf v3.1.0, v3.2.0, as well as Master branch on OpenBSD 6.(more-or-less current) amd64, using autoconf-2.69p2, autogen-5.8.7p4, automake-1.15p0, libtool-2.4.2p0, and gcc

[protobuf] Protobuf 3.2.0 + Qt 5.8 (Windows)

2017-03-03 Thread Mastic Cover
Hi everyone, I'm trying to build Protobuf with Minwg from MSYS2 as specified in documentation (C++ Installation - Windows). Everything goes perfect and all libraries are created. The problem comes trying to compile and test the "addressbook" sample in Qt/C++. After generating the .pb.cc and