Autoware compile problem using colcon build?
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 ...
Seeing as this is a clear compilation problem, I would suggest to post this on the issue tracker of the appropriate Autoware component.
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.
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
Neither: just edit your question and add the missing information.
Use the
edit
button/link for that.I have edited the question and posted almost everything which is showing in my terminal Screen. Thanks
https://docs.google.com/document/d/1C.... In this document, you can find complete error report