Autoware :1.12.0 Build error
Operating system and version: Ubuntu 18.04 gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 cmake version 3.10.2
Autoware installation type Built from source (https://gitlab.com/autowarefoundation...)
Autoware version : 1.12.0
ROS distribution: melodic ROS installation type: sudo apt-get install ros-melodic-desktop-full
When I did this command colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release I am getting following error basically citysim package failed
^~~~~ In file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:15: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.ai/src/citysim/plugins/BloomVisualPlugin.cc:18: /usr/include/gazebo-9/gazebo/msgs/camera_lens.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/camera_lens.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/camera_lens.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:16: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.ai/src/citysim/plugins/BloomVisualPlugin.cc:18: /usr/include/gazebo-9/gazebo/msgs/cessna.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/cessna.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/cessna.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:17: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.ai/src/citysim/plugins/BloomVisualPlugin.cc:18: /usr/include/gazebo-9/gazebo/msgs/collision.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/collision.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/collision.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/collision.pb.h:31:0, from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh ...
Autoware 1.12.0 has not been released yet. Unless you are happy using a potentially-broken
master
branch, I recommend you stick to 1.11.1 or 1.12.0-alpha.2.@Geoff Yeah but 1.12.0-Aplha 2 will be released on July 8 as per (https://discourse.ros.org/t/dates-for...) and melodic has support only for 1.12.0 as per wiki page (https://gitlab.com/autowarefoundation...)
@Geoff Will 1.11.0 be supported in melodic?
1.12.0-alpha.2 was released last week. We are working to release 1.12.0 on the 8th. Unfortunately there is no way for us to extend support for an already-released version of Autoware. If you want to use it on Melodic, you will need to either use alpha.2, which contains known bugs, or wait until the 8th. We will have all the documentation updates in place by that point. In the mean time, you may have found a problem we need to fix, but because you didn't format your error output as preformatted, I can't read the error messages and my browser chokes trying to edit the message to clean it up because it is too big. Either edit your message and change the error output to preformatted text, or edit your message and move the error output to a gist.
@Geoff okay Thanks will try to put preformatted text
@Geoff I have downloaded 1.12.0-alpha and even though I am getting the same errors. I am keeping my terminal output as a google drive link. Please go through it. (https://drive.google.com/open?id=1ey7...)
@sm94 that link requires me to download a file. I don't believe you're going to get many people willing to download a random file from the internet
@jayess but I can't post more than 500 words in the comment section and I feel that it would be waste if I open a new issue and post that there?