[protobuf] Re: ProtocolBuffer repeated tasks in Java..

2010-02-02 Thread Mohan
Kenton, Thanks for your support! I have a situation to create 1000's of objects inside loop, I am bit worried cause those manny builder objects are also created. is there any workaround for that? Mohan On Dec 13 2009, 5:44 am, Kenton Varda wrote: > On Sat, Dec 12, 2009 at 11:21 AM, atkretsch

Re: [protobuf] Re: ProtocolBuffer repeated tasks in Java..

2010-02-02 Thread Kenton Varda
On Tue, Feb 2, 2010 at 12:54 AM, Mohan < mohan.narayanasw...@credit-suisse.com> wrote: > I have a situation to create 1000's of objects inside loop, I am bit > worried cause those manny builder objects are also created. is there > any workaround for that? > With a modern JVM, creating short-lived

[protobuf] Error in compiling protobuf example

2010-02-02 Thread hap 497
Hi, I am trying to compile protobuf cpp example. $ cd /media/EXTDIV/src/protobuf-2.3.0/examples $ make cpp But I am getting these errors: c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` In file included from add_person.cc:6: addressbook.pb.h:16:2: error

[protobuf] Mac OS X: Compilation as 32 bit lib

2010-02-02 Thread David
Hello out there! I have successfuly compiled protocol buffers under Mac OS X snow leopard. Unfortunately, it gets built as a x86_64 library. I checked the makefile which claimed it would build for the target architecture i386. (At least it seemed like this for me.) If I check the library I get the

Re: [protobuf] Error in compiling protobuf example

2010-02-02 Thread Kenton Varda
What does "protoc --version" print? On Tue, Feb 2, 2010 at 10:31 AM, hap 497 wrote: > Hi, > > I am trying to compile protobuf cpp example. > $ cd /media/EXTDIV/src/protobuf-2.3.0/examples > $ make cpp > > But I am getting these errors: > c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg

Re: [protobuf] Mac OS X: Compilation as 32 bit lib

2010-02-02 Thread Kenton Varda
It's up to the compiler what kind of binaries it wants to build. There's probably some flag you can pass to make it build 32-bit. You could give this flag to the configure script like: ./configure CXXFLAGS=--compiler-flag LDFLAGS=--liker-flag I don't know what flags you need -- check your com