[protobuf] Compiling protocol buffers on QNX 6.4

2012-03-06 Thread C_Coder
Hi, I have been trying to get protobuf to compile for a QNX6.4 system (already got it working fine on Linux). At first it had trouble finding libstdc++ in the auto-generated path but once I fixed it to take the library that ships with QNX6.4 there are still unresolved symbols related to that

[protobuf] Package Mandatory ?

2012-03-06 Thread Julien PONNOU
Hello, When I include several couples of .h/.cc in my project, I got the following errors during the compilation: error C2086: 'google::protobuf::ProtobufOnceType `anonymous- namespace'::protobuf_AssignDescriptors_once_' : redefinition see declaration of '`anonymous-

[protobuf] Unable to Install

2012-03-06 Thread Gaurav Agarwal
Hi I am new to Protocol Buffers and trying to install it on Intel core i3 with windows 7 64 bit. I copied protocol buffers files to C:\Users\Program Files\protobuf-2.4.1 and intalled Cygwin and cd to protocol buffers directory /cygdrive/c/Program Files/protobuf-2.4.1 $ ./configure and result

[protobuf] Re: I am new in Protocol Buffers

2012-03-06 Thread Jan Bezget
When I first started using protobuf in my application, I relied solely on http://code.google.com/apis/protocolbuffers/docs/overview.html. It's a great resource of documentation and provides helpful examples. There's a cool plugin for Eclipse! You can get it at

[protobuf] re: protobuf-net 480 for .net 4 - objects in a IList I serialize have all members serialized to 0

2012-03-06 Thread costa
Have you seen this? The list is an IListTestClass where TestClass has the ProtoContract attribute and all its members have the ProtoMember attribute. When I serialize it the bin file contains only 0A 00 bytes. When I deserialize it all objects have the members set to 0. What am I doing wrong?

[protobuf] proto buff crash

2012-03-06 Thread jjshang
hi, we use proto buff for our c-s application. We find there seem to be no problems if server proto's optional, repeated field do not exist in client's proto, so our server and client use different proto defines, and it works well. But recently there happens some crash in client proto buff code

[protobuf] Re: protobuf_AssignDescriptors_once_ redefined?

2012-03-06 Thread Julien PONNOU
Hello, I'm getting the exact same issue and I'd like to know how did you resolve it ? Julien. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To view this discussion on the web visit

[protobuf] Re: Support for xml, json, protobuf and Java Object Model retention

2012-03-06 Thread Anthony
Hi, I'm trying a similar thing with trying to support Protobuffer for XINS (an open source web framework that also support different protocols). What I'd like to do is to parse a message and generate the output without the need to compile a .proto file. I'm looking at DynamicMessage but I can't

[protobuf] How to read continuous stream of messages from TCP

2012-03-06 Thread waynix
Hello All; New to protobuf and did some limited search for my question. So my apology if this has already been talked about. I naively thought that ParseFromFileDescriptor/ParseFromIstream would block on an TCP socket and return when a valid message is received. Read some old posts from 2010 and

[protobuf] Re: Issue 256 in protobuf: Error Converting Message to array of Bytes (When negative Enum) - Java

2012-03-06 Thread protobuf
Updates: Labels: FixedIn-2.4.1 Comment #9 on issue 256 by jas...@google.com: Error Converting Message to array of Bytes (When negative Enum) - Java http://code.google.com/p/protobuf/issues/detail?id=256 2.4.1 should have contained this fix. Can you post a reproduction? If your

Re: [protobuf] How to read continuous stream of messages from TCP

2012-03-06 Thread Evan Jones
On Feb 27, 2012, at 17:27 , waynix wrote: 1. Is this still the way to do it? Seems quite cumbersome (to lazy me ;-). Is there a wrapper built in to do this? Yes. Sadly there is no wrapper included in the library. 2. If I understand Jason's suggestion riht, the length is really not part

[protobuf] Re: Issue 256 in protobuf: Error Converting Message to array of Bytes (When negative Enum) - Java

2012-03-06 Thread protobuf
Comment #10 on issue 256 by jhan...@gmail.com: Error Converting Message to array of Bytes (When negative Enum) - Java http://code.google.com/p/protobuf/issues/detail?id=256 sorry, yeah, I'm getting this same exception but simply because the underlying CodedOutputStream default buffer size

[protobuf] Re: Issue 256 in protobuf: Error Converting Message to array of Bytes (When negative Enum) - Java

2012-03-06 Thread protobuf
Comment #11 on issue 256 by jas...@google.com: Error Converting Message to array of Bytes (When negative Enum) - Java http://code.google.com/p/protobuf/issues/detail?id=256 The internal buffer for CodedOutputStream should just be a performance optimization; it's an internal buffer so that

[protobuf] Re: I am new in Protocol Buffers

2012-03-06 Thread Lyrya
Hi, https://lh3.googleusercontent.com/-AuNYI2iBIzI/T1cRNVsWZxI/ACk/HANdbjbuyAU/s1600/Error%2520Problem.pngYeah, thanks.. I already followed all the instructions there, but there occurred one problem like this. I captured this problem, maybe, you can help me to solve it. thanks,