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 a...@alexblack.ca 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

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 bart.vandee...@gmail.comwrote: However, when I try to build my application with -Lpath/to/ libprotobuf.a I get hundreds of linker errors, complaining about undefined references to any of the google protocol functions. You need to use:

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

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

2009-07-09 Thread Alex Black
Message- From: protobuf@googlegroups.com [mailto:proto...@googlegroups.com] On Behalf Of bart van deenen Sent: Thursday, July 09, 2009 2:44 PM To: Protocol Buffers Subject: Howto build protobuf not as library, but directly linking object files? Hi this question is stupid I know :-) I've succesfully