Autoware compile problem using colcon build?

asked 2019-06-19 08:17:48 -0500

AM97 gravatar image

updated 2019-06-19 13:30:27 -0500

System : Ubuntu 18.04

http://answers.ros.org/question/32617... By following the following suggestion I pulled latest Alpha 1.12 and compiled with colcon build then this error is coming

/usr/include/gazebo-9/gazebo/msgs/joint_wrench.pb.h:17:2: error: #error This file was generated by an older version of protoc which is #error This file was generated by an older version of protoc which is ^~~~~ /usr/include/gazebo-9/gazebo/msgs/joint_wrench.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please #error incompatible with your Protocol Buffer headers. Please ^~~~~ /usr/include/gazebo-9/gazebo/msgs/joint_wrench.pb.h:19:2: error: #error regenerate this file with a newer version of protoc. #error regenerate this file with a newer version of protoc. ^~~~~ In file included from /usr/include/gazebo-9/gazebo/msgs/joint_wrench.pb.h:30:0, from /usr/include/gazebo-9/gazebo/msgs/contact.pb.h:32, from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:19, from /usr/include/gazebo-9/gazebo/msgs/msgs.hh:35, from /usr/include/gazebo-9/gazebo/rendering/Camera.hh:37, from /home/sai/Autoware/ros/src/simulation/gazebo_simulator/worlds/external/osrf_citysim/plugins/BloomVisualPlugin.cc:18: /usr/include/gazebo-9/gazebo/msgs/wrench.pb.h:17:2: error: #error This file was generated by an older version of protoc which is #error This file was generated by an older version of protoc which is ^~~~~ /usr/include/gazebo-9/gazebo/msgs/wrench.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please #error incompatible with your Protocol Buffer headers. Please ^~~~~ /usr/include/gazebo-9/gazebo/msgs/wrench.pb.h:19:2: error: #error regenerate this file with a newer version of protoc. #error regenerate this file with a newer version of protoc. ^~~~~ In file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:20:0, from /usr/include/gazebo-9/gazebo/msgs/msgs.hh:35, from /usr/include/gazebo-9/gazebo/rendering/Camera.hh:37, from /home/sai/Autoware/ros/src/simulation/gazebo_simulator/worlds/external/osrf_citysim/plugins/BloomVisualPlugin.cc:18: /usr/include/gazebo-9/gazebo/msgs/contacts.pb.h:17:2: error: #error This file was generated by an older version of protoc which is #error This file was generated by an older version of protoc which is ^~~~~ /usr/include/gazebo-9/gazebo/msgs/contacts.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please #error incompatible with your Protocol Buffer headers. Please ^~~~~ /usr/include/gazebo-9/gazebo/msgs/contacts.pb.h:19:2: error: #error regenerate this file with a newer version of protoc. #error regenerate this file with a newer version of protoc. ^~~~~ In file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:21:0, from /usr/include/gazebo-9/gazebo/msgs/msgs.hh:35, from /usr/include/gazebo-9/gazebo/rendering/Camera.hh:37, from /home/sai/Autoware/ros/src/simulation/gazebo_simulator/worlds/external/osrf_citysim/plugins/BloomVisualPlugin.cc:18: /usr/include/gazebo-9/gazebo/msgs/contactsensor.pb.h:17:2: error: #error This file was generated by an older version of protoc which is #error This ... (more)

edit retag flag offensive close merge delete

Comments

Seeing as this is a clear compilation problem, I would suggest to post this on the issue tracker of the appropriate Autoware component.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-19 09:09:08 -0500 )edit

You’re not showing the actual error. You’ll need to share the error log. Remember to follow all compilation instructions shown here https://github.com/autowarefoundation... This error is very likely an outdated submodule.

amc-nu gravatar imageamc-nu ( 2019-06-19 09:46:58 -0500 )edit

The error was too big that it was showing maximum word limit is 418 letters if i post in a comment. Should I delete this and reopen new Question

AM97 gravatar imageAM97 ( 2019-06-19 13:18:51 -0500 )edit

Neither: just edit your question and add the missing information.

Use the edit button/link for that.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-19 13:26:37 -0500 )edit

I have edited the question and posted almost everything which is showing in my terminal Screen. Thanks

AM97 gravatar imageAM97 ( 2019-06-19 13:31:38 -0500 )edit

https://docs.google.com/document/d/1C.... In this document, you can find complete error report

AM97 gravatar imageAM97 ( 2019-06-20 10:27:55 -0500 )edit