I tried to compile protobuf many times on different HP machines with
version 2.1 and 2.2, but all failed. The failure reason is same as
below. Does anybody can gimme some advice ? Thank you in advance!
libtool: compile: aCC -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -
ansi_for_scope on -mthreads
It appears that your system lacks strtoll(). You'll need to replace it
somehow. Is your system 64-bit? If so, strtol() should work fine. There's
actually an #ifdef near the top of strutil.h which deals with this for other
systems.
As for the iter has already been declared problem, it looks
Kenton Varda wrote:
Also, writing third-party code generators in languages other than C++ is
tricky.
Yes, I opted not to bother with .proto parsing for s-protobuf, using
only the protobuf-encoded FileDescriptorSet's that protoc can emit.
Instead, I propose a similar architecture, but
If JSON is an option, how should protoc detect that a plugin wants to use
JSON? We could make it part of the filename, e.g.:
protoc-foo-json (implements --foo_out)
This seems ugly. But, other options I can think of (a config file, some
sort of handshake) would be a lot more complicated.
Hmm,
Hello,
I use R 2.9.2 and have written two packages which use a proto file,
one proto is a subset of the other.
When I load both packages(one after the other,though order does not
matter) loading the second causes the following crash
libprotobuf ERROR google/protobuf/descriptor_database.cc:56]