/MDd is the debug library. libprotobuf.lib only links against it when built
in debug mode. Are you also compiling your app in debug mode? You need to
make sure to compile both projects in the same mode.
Are you able to build the tests that come with the protobuf code? If so,
maybe check what's
Thanks for yoru response!
I found that Microsoft Visual Studio was using the /MDd flag while compiling
libprotobuf.lib. I changed it to use /MD which is what I am using to build
my application. So now both are using the same flags, but I am still seeing
the same error. I am linking the application
Yes, you need to use the protobuf runtime library. Each language has an
independent runtime library. libprotobuf.so is only for C++. For Java,
there is a Maven-built jar file on which you need to depend. You don't need
to link against the C++ dynamic library for Java apps.
On Thu, Jun 4, 2009 a
Thanks, this makes sense.
Regards.
2009/6/4 Kenton Varda
> On Thu, Jun 4, 2009 at 5:23 AM, Stas Oskin wrote:
>
>> Thanks for the tip, any idea if the plain UNIX pipes are working with
>> protobuf?
>>
>
> You can send a protocol buffer over a pipe, sure. It's just bytes.
>
>
>>
>>
>> Regards.
When you compile your app, are you making sure to use the same C runtime
library against which you compiled libprotobuf? It looks like it's
complaining about missing functions in the C runtime.
On Thu, Jun 4, 2009 at 8:58 AM, wrote:
>
> Hi,
> I am trying to use Google Protocol Buffers run time
Excuse me the annoyance... Absolutely right. That was the problem. I was
adding the lpthread the my USEs but I didn't added it to the project.
Thank you very much once more.
Best regards.
2009/6/4 Henner Zeller
> sounds like linking the pthread library is missing. Add -lpthread to
> your linker
On Thu, Jun 4, 2009 at 5:23 AM, Stas Oskin wrote:
> Thanks for the tip, any idea if the plain UNIX pipes are working with
> protobuf?
>
You can send a protocol buffer over a pipe, sure. It's just bytes.
>
>
> Regards.
>
> 2009/5/25 Christopher Smith
>
> http://code.google.com/p/protobuf/wiki
Sorry, Protocol Buffers only supports trees, not DAGs. So, you need to
devise some other way to identify objects on top of that.
On Thu, Jun 4, 2009 at 7:26 AM, wrote:
> // Add Wheel
> Wheel *to_replace = car->mutable_wheel();
> *to_replace = existing_wheel;
In this code you're actually makin
Thanks for the patch!
It looks like you were using the examples as a test. Running "make check"
in the top directory will run a much better suite of tests -- do they pass?
Assuming it does work, can you re-send that patch as an attachment (it looks
like it has been mangled), or even send it to me
sounds like linking the pthread library is missing. Add -lpthread to
your linker options.
On Thu, Jun 4, 2009 at 1:27 PM, Carmen wrote:
>
> Hi all,
> I'm just having some errors when compiling my first .proto file. I
> made the .proto and compile it with protoc and all goes excellent.
> Then I i
Hi all,
I'm just having some errors when compiling my first .proto file. I
made the .proto and compile it with protoc and all goes excellent.
Then I import the .c and .h files into my C++ project and when I
compile all together I receive the error of the subject of this mail.
My system is a gento
Hi,
I am trying to use Google Protocol Buffers run time libraries in my
application. To use Protocol Buffers, I need to first build the run-
time libraries for C++ on Windows. I am using Visual Studio 2003.
While linking the libraries into my application I get the following
errors. Can anyone hel
Hi,
I´m unsure on how the serializer determines object identity. Is it by
address or by value? I´m using C++ and trying to serialize something
like that:
A Shop contains all Wheels and Cars. A Car has several Wheels but
those Wheels are also referenced by the Shop. So they are the same
Wheels. (I
Hi.
A bit naive question, but the protobuf dynamic library is required for
compiling, correct? I mean, protobuf is not header-only library?
If yes, does the Java version requires the dynamic library, and how it
is linked, when using Maven built JAR?
Thanks.
--~--~-~--~~~
Hi.
Thanks for the tip, any idea if the plain UNIX pipes are working with
protobuf?
Regards.
2009/5/25 Christopher Smith
> http://code.google.com/p/protobuf/wiki/RPCImplementations
>
> On Sun, May 24, 2009 at 12:42 PM, SyRenity wrote:
>
>>
>> Hi.
>>
>> Sorry if this was already asked in the p
15 matches
Mail list logo