[protobuf] Link errors with protobuf 2.2.0a

2009-12-17 Thread anu
Hello, We were using an old version of protobuf (2.0.3 windows ) and are planning to migrate to the latest vesrion 2.2.0a. We started getting some link errors with the latest version (2.2.0a windows) of protobuf. 1ivnt-mplsted.lib(ivnt-mplsted.dll) : error LNK2005: protected: __thiscall

Re: [protobuf] Link errors with protobuf 2.2.0a

2009-12-17 Thread Kenton Varda
On Thu, Dec 17, 2009 at 2:47 AM, a...@sibmail.ru wrote: Hello, You should use same runtime library setting to build your application and protobuffer libraries. Specifically, debug vs. release, single-threaded vs. multi-threaded, etc. Unfortunately, MSVC's STL implementation for each of

[protobuf] Re: Link errors with protobuf 2.2.0a

2009-12-17 Thread Oleg Smolsky
On Dec 17, 12:27 pm, Kenton Varda ken...@google.com wrote: On Thu, Dec 17, 2009 at 2:47 AM, a...@sibmail.ru wrote: Hello, You should use same runtime library setting to build your application and protobuffer libraries. Specifically, debug vs. release, single-threaded vs. multi-threaded,

[protobuf] Submitted: Python 10-25 times faster, protoc plugins, other changes

2009-12-17 Thread Kenton Varda
Hi all, I just pushed out a wad of changes from our internal branch to SVN. Among other things, the Python implementation is now around 10-25x faster (but still pure-python), and protoc now supports a plugin interface for third-party code generators. Details below. The changes have only been

Re: [protobuf] Built a simplified XPath-like syntax for Protocol Buffers

2009-12-17 Thread Pavel Shramov
On Fri, Dec 04, 2009 at 02:17:33PM -0800, Scott Stafford wrote: Hi - We built a simplified XPath-like syntax (and implementation for C++) to control the Reflection interface via strings. For instance, ... skip ... PBPath::GetInt32( myMessage, field2[id=50].field3[1] ); would search