Re: intermittent issue with encode (version 2.0.3)

2009-07-10 Thread Kenton Varda
As long as your threads do not start before main() is called, you are fine. Again, the function in question is guaranteed to be called before main() starts. On Fri, Jul 10, 2009 at 3:52 PM, Rizzuto, Raymond wrote: > Is there something I need to do in the application to cause that to > happen be

RE: intermittent issue with encode (version 2.0.3)

2009-07-10 Thread Rizzuto, Raymond
Is there something I need to do in the application to cause that to happen before I've spun off multiple threads? Currently I spin up threads, which then start making calls to fill in and then encode google protobuffers. From: Kenton Varda [mailto:ken...@google.

Re: Howto build protobuf not as library, but directly linking object files?

2009-07-10 Thread bart van deenen
Thank you thank you thank you! You're my savior :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this gr

Re: Howto build protobuf not as library, but directly linking object files?

2009-07-10 Thread Kenton Varda
On Fri, Jul 10, 2009 at 3:12 AM, bart van deenen wrote: > However, when I try to build my application with -L"path/to/ > libprotobuf.a" I get hundreds of linker errors, complaining about > undefined references to any of the google protocol functions. You need to use: -Lpath/to/lib/dir -lproto

Re: Howto build protobuf not as library, but directly linking object files?

2009-07-10 Thread bart van deenen
On Jul 9, 8:54 pm, "Alex Black" wrote: > Hey Bart, I'm not sure I'm seeing the full details of your situation, > > But on windows I compiled a library libprotobuf.lib, and linked to it > statically, meaning it gets built into the exe (or dll) you're building. > (I built 2 actually, a  release o