Hi.
I'm trying to use protobuf for cross-platform, cross-architecture
communication - Java 64-bit to C++ 32-bit.
The integer data is passed fine - problem is in the strings, which are
coming empty.
Used version is 2.3, lite (for faster speed).
Any idea?
Thanks!
--
You received this message
Hi.
I'm trying to compile a 32-bit protobuf on 64-bit machine.
No matter what I tried (changing build option, host option or setting -
m32 flag), I couldn't get it working. Either I stuck on compile stage,
or the resulting binaries are 64-bit.
I do able to compile other apps via -m32 flag.
(I
What is the return value of ParseFromIStream()? My guess is false.
Are you making sure to open your files in binary mode? You *must* pass the
ios::binary flag when opening, otherwise newline conversion will corrupt the
file.
Are you writing anything else to the file other than your protobuf?
What OS? What compiler? What is your ./configure command line?
On Thu, Jan 28, 2010 at 5:12 AM, SyRenity stas.os...@gmail.com wrote:
Hi.
I'm trying to compile a 32-bit protobuf on 64-bit machine.
No matter what I tried (changing build option, host option or setting -
m32 flag), I
Hi Thanks for the reply.
The methods are both returning correctly. It's the only thing I write
to the file. They are also open in binary mode I think, I'll have to
double check the binary mode part.
Regards
Iain
--
You received this message because you are subscribed to the Google Groups
Ah Sorry I should also mention that leaving the mac address field
empty/default means that the file works correctly.
On Jan 28, 7:45 pm, iWalsh iain.d.wa...@googlemail.com wrote:
Hi Thanks for the reply.
The methods are both returning correctly. It's the only thing I write
to the file. They
There's a bug in your code, but I don't know what. Can you please reduce it
to a small, self-contained example and send it to the list?
On Thu, Jan 28, 2010 at 11:47 AM, iWalsh iain.d.wa...@googlemail.comwrote:
Ah Sorry I should also mention that leaving the mac address field
empty/default
On Thu, Jan 28, 2010 at 11:45 AM, SyRenity stas.os...@gmail.com wrote:
CentOS 5.4
GCC 4.1.2
Configure for example:
./configure --prefix=/tmp/protobuf --host i386-redhat-linux
And when you configure other autotool-based packages the same way, it works?
You said you were using the -m32