[protobuf] Compiling .proto files with scons

2009-11-23 Thread Thomas Johnson
Sorry if this is a bit of a newbie question, but I'm new to both protobuffers and scons. What's the easiest way to get .proto files to compile to .pb.cc and .pb.h files? I know you guys use scons at google, so I'm hoping that there's a cut-and-paste solution - but if now, can someone recommend

Re: [protobuf] Compiling .proto files with scons

2009-11-23 Thread Thomas Johnson
build system full of Google-specific hacks -- like how to build protocol buffers. But it can't be that hard to get scons to run a shell command, can it? On Mon, Nov 23, 2009 at 2:14 AM, Thomas Johnson thomas.j.john...@gmail.com wrote: Sorry if this is a bit of a newbie question, but I'm new

Re: [protobuf] Compiling with Debug

2009-12-27 Thread Thomas Johnson
by the protobuf serializer.  You'll probably find that they are different in some way, which will point you towards the problem. On Sat, Dec 26, 2009 at 12:35 PM, Thomas Johnson thomas.j.john...@gmail.com wrote: I've got a protobuf file that for some reason can't be loaded using ParseFromIStream

Re: [protobuf] Compiling with Debug

2009-12-27 Thread Thomas Johnson
you can probably increase it significantly before running any real risks). On Sun, Dec 27, 2009 at 7:31 PM, Thomas Johnson thomas.j.john...@gmail.com wrote: Thanks for your help - I found that I was exceeding the recursion limit in CodedInputStream. I was able to instantiate my own