Serebriakov / pink-pony

Automatically exported from code.google.com/p/pink-pony
0 stars 0 forks source link

pink-pony is not compatible with google protobuf 2.1.0 #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile and install google protobuf 2.1.0
2. Try compiling pink-pony
3. See it fail

What is the expected output? What do you see instead?

compiler complains about protobuf version

What version of the product are you using? On what operating system?

Pink pony 1.0 on Ubuntu 9.04 64 bit

Please provide any additional information below.

Tried changing the protobuf version in the sources but it doesn't work either 

Original issue reported on code.google.com by stryc...@gmail.com on 8 Jul 2009 at 10:42

GoogleCodeExporter commented 9 years ago
Hmm..

You use a self-compiled version of protobuf, right?

I'm just using Ubuntus 9.04 standard protobuf 2.0.3 package. '$ aptitude install
protobuf-dev' should install it for you.

This is my guess about the problem:

At the moment, I just distribute the generated source from protoc with the 
tarball. I
know this is bad style, but I didn't want to spend too much time with setting 
up the
build tool.

Please check if generating the glue-code yourself will fix the problems:

# change into lib directory
cd lib/

# generate new protobuf glue code
protoc mesh.proto --cpp_out=.

# compile
cd ..
scons -j2

If this works, I will set up the Build System to generate the code.

Original comment by gin...@gmail.com on 9 Jul 2009 at 9:27

GoogleCodeExporter commented 9 years ago
I compiled it successfully on Ubuntu 9.04 64-bit with the standard protobuf.

I did:

sudo apt-get update
sudo apt-get install libprotobuf-* protobuf*
scons -j2

I had a problem with Xandr and needed to do: sudo ln -s 
/usr/lib/libXrandr.so.2.2.0
/usr/lib/libXrandr.so then it compiled wonderfully.

Original comment by Noma...@gmail.com on 10 Jul 2009 at 7:40

GoogleCodeExporter commented 9 years ago
I could reproduce your problem. It was indeed the pregenerated code.

I have now set up the SCons build script to generate the protobuf code 
automatically.

You can check out the current version from GitHub:
http://github.com/ginkgo/pink-pony/tree/master

Original comment by gin...@gmail.com on 10 Jul 2009 at 10:42