-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protoc version for gazebo5 #33
Comments
Maybe the issue is that we depend on |
@scpeters, thanks - I have a new ssd arriving from Amazon this weekend and will try that on my desktop. I'll post back here with the results. At the moment, everything is working on my laptop by copying over the files, it's a hack but for now I won't touch it. |
I'll close this for now until I have time to test. I seem to be the only one affected. |
A general solution is to manually re-generate the files with protoc: protoc file.proto --cpp_out=output_dir |
Tensorflow requires a very specific version of protobuf to behave - so specific it's a commit and not a release tag. I'm glad the apt package for Gazebo comes with the protobuf source so I could follow your suggestion and just recompile everything. Thanks @q4z1. |
👍 |
While running the script, on El Capitan, I ran into this issue:
This is because the gazebo message header files generated an included in the tar include:
I was able to get around it by doing what the error message told me to do, regenerating the protobuf headers and dylib:
hg clone https://bitbucket.org/osrf/gazebo && cd gazebo && hg up gazebo5_5.2.1
mkdir build && cd build && cmake .. && make -j8
cp ./gazebo/msgs/libgazebo_msgs.5.2.1.dylib /usr/local/Cellar/gazebo5/5.2.1/lib
cp ./gazebo/msgs/*.pb.h /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/
cp ./gazebo/msgs/*.hh /usr/local/Cellar/gazebo5/5.2.1/include/gazebo-5.2/gazebo/msgs/
Now it builds until pcl_ros - I'll read over the latest comments in #12, because my notes from last time didn't help.
I just wanted to know if anyone else has experienced this.
I think this may actually be an issue for https://github.com/osrf/homebrew-simulation/ because the brew formula for
gazebo5
depends on a specific version ofprotobuf
The text was updated successfully, but these errors were encountered: