Robotics StackExchange | Archived questions

Catkin build failed

ROS MELODIC 18.04

I am trying to build after i installed ros melodic navigation stack and later I removed it but I am getting this error when i am running catkin build. Previously it used to work fine

Errors     << mavlink_sitl_gazebo:make /home/sai/catkin_ws/logs/mavlink_sitl_gazebo/build.make.002.log
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:674:49: error: no ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WritePrimitiveNoTagToArray(const google::protobuf::RepeatedField<T>&, google::protobuf::uint8* (*)(T, google::protobuf::uint8*), google::protobuf::uint8*)’ member function declared in class ‘google::protobuf::internal::WireFormatLite’
       uint8* (*Writer)(T, uint8*), uint8* target) {
                                                 ^
/usr/local/include/google/protobuf/wire_format_lite_inl.h:690:49: error: no ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixedNoTagToArray(const google::protobuf::RepeatedField<T>&, google::protobuf::uint8* (*)(T, google::protobuf::uint8*), google::protobuf::uint8*)’ member function declared in class ‘google::protobuf::internal::WireFormatLite’
       uint8* (*Writer)(T, uint8*), uint8* target) {
                                                 ^
/usr/local/include/google/protobuf/wire_format_lite_inl.h:706:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt32NoTagToArray(const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteInt32NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:607:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt32NoTagToArray(google::protobuf::int32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteInt32NoTagToArray(int32 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:710:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt64NoTagToArray(const google::protobuf::RepeatedField<long int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteInt64NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:611:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt64NoTagToArray(google::protobuf::int64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteInt64NoTagToArray(int64 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:714:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt32NoTagToArray(const google::protobuf::RepeatedField<unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteUInt32NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:616:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt32NoTagToArray(google::protobuf::uint32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteUInt32NoTagToArray(uint32 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:718:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt64NoTagToArray(const google::protobuf::RepeatedField<long unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteUInt64NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:620:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt64NoTagToArray(google::protobuf::uint64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteUInt64NoTagToArray(uint64 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:722:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt32NoTagToArray(const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSInt32NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:624:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt32NoTagToArray(google::protobuf::int32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSInt32NoTagToArray(int32 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:726:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt64NoTagToArray(const google::protobuf::RepeatedField<long int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSInt64NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:629:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt64NoTagToArray(google::protobuf::int64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSInt64NoTagToArray(int64 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:730:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed32NoTagToArray(const google::protobuf::RepeatedField<unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteFixed32NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:634:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed32NoTagToArray(google::protobuf::uint32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteFixed32NoTagToArray(uint32 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:734:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed64NoTagToArray(const google::protobuf::RepeatedField<long unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteFixed64NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:638:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed64NoTagToArray(google::protobuf::uint64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteFixed64NoTagToArray(uint64 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:738:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed32NoTagToArray(const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSFixed32NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:642:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed32NoTagToArray(google::protobuf::int32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSFixed32NoTagToArray(int32 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:742:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed64NoTagToArray(const google::protobuf::RepeatedField<long int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSFixed64NoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:647:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed64NoTagToArray(google::protobuf::int64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSFixed64NoTagToArray(int64 value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:746:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFloatNoTagToArray(const google::protobuf::RepeatedField<float>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteFloatNoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:652:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFloatNoTagToArray(float, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteFloatNoTagToArray(float value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:750:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteDoubleNoTagToArray(const google::protobuf::RepeatedField<double>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteDoubleNoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:657:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteDoubleNoTagToArray(double, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteDoubleNoTagToArray(double value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:754:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteBoolNoTagToArray(const google::protobuf::RepeatedField<bool>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteBoolNoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:662:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteBoolNoTagToArray(bool, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteBoolNoTagToArray(bool value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:758:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteEnumNoTagToArray(const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteEnumNoTagToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:666:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteEnumNoTagToArray(int, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteEnumNoTagToArray(int value,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:852:52: error: no ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WritePrimitiveToArray(int, const google::protobuf::RepeatedField<T>&, google::protobuf::uint8* (*)(int, T, google::protobuf::uint8*), google::protobuf::uint8*)’ member function declared in class ‘google::protobuf::internal::WireFormatLite’
     uint8* (*Writer)(int, T, uint8*), uint8* target) {
                                                    ^
/usr/local/include/google/protobuf/wire_format_lite_inl.h:867:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt32ToArray(int, const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteInt32ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:763:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt32ToArray(int, google::protobuf::int32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteInt32ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:871:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt64ToArray(int, const google::protobuf::RepeatedField<long int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteInt64ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:769:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteInt64ToArray(int, google::protobuf::int64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteInt64ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:875:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(int, const google::protobuf::RepeatedField<unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteUInt32ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:775:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(int, google::protobuf::uint32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteUInt32ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:879:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(int, const google::protobuf::RepeatedField<long unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteUInt64ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:781:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(int, google::protobuf::uint64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteUInt64ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:883:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(int, const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSInt32ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:787:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(int, google::protobuf::int32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSInt32ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:887:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt64ToArray(int, const google::protobuf::RepeatedField<long int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSInt64ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:793:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSInt64ToArray(int, google::protobuf::int64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSInt64ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:891:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(int, const google::protobuf::RepeatedField<unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteFixed32ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:799:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(int, google::protobuf::uint32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteFixed32ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:896:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(int, const google::protobuf::RepeatedField<long unsigned int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteFixed64ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:805:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(int, google::protobuf::uint64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteFixed64ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:901:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed32ToArray(int, const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSFixed32ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:811:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed32ToArray(int, google::protobuf::int32, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSFixed32ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:906:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(int, const google::protobuf::RepeatedField<long int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteSFixed64ToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:817:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(int, google::protobuf::int64, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteSFixed64ToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:911:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFloatToArray(int, const google::protobuf::RepeatedField<float>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteFloatToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:823:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteFloatToArray(int, float, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteFloatToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:915:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteDoubleToArray(int, const google::protobuf::RepeatedField<double>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteDoubleToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:829:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteDoubleToArray(int, double, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteDoubleToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:919:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteBoolToArray(int, const google::protobuf::RepeatedField<bool>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteBoolToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:835:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteBoolToArray(int, bool, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteBoolToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:923:15: error: prototype for ‘google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteEnumToArray(int, const google::protobuf::RepeatedField<int>&, google::protobuf::uint8*)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline uint8* WireFormatLite::WriteEnumToArray(
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:841:15: error: candidate is: static google::protobuf::uint8* google::protobuf::internal::WireFormatLite::WriteEnumToArray(int, int, google::protobuf::uint8*)
 inline uint8* WireFormatLite::WriteEnumToArray(int field_number,
               ^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/wire_format_lite_inl.h:987:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::Int32Size(google::protobuf::int32)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::Int32Size(int32 value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:513:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::Int32Size(google::protobuf::int32)
   static inline int Int32Size   ( int32 value);
                     ^~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:990:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::Int64Size(google::protobuf::int64)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::Int64Size(int64 value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:514:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::Int64Size(google::protobuf::int64)
   static inline int Int64Size   ( int64 value);
                     ^~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:993:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::UInt32Size(google::protobuf::uint32)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::UInt32Size(uint32 value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:515:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::UInt32Size(google::protobuf::uint32)
   static inline int UInt32Size  (uint32 value);
                     ^~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:996:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::UInt64Size(google::protobuf::uint64)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::UInt64Size(uint64 value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:516:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::UInt64Size(google::protobuf::uint64)
   static inline int UInt64Size  (uint64 value);
                     ^~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:999:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::SInt32Size(google::protobuf::int32)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::SInt32Size(int32 value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:517:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::SInt32Size(google::protobuf::int32)
   static inline int SInt32Size  ( int32 value);
                     ^~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1002:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::SInt64Size(google::protobuf::int64)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::SInt64Size(int64 value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:518:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::SInt64Size(google::protobuf::int64)
   static inline int SInt64Size  ( int64 value);
                     ^~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1005:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::EnumSize(int)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::EnumSize(int value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:519:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::EnumSize(int)
   static inline int EnumSize    (   int value);
                     ^~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1009:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::StringSize(const string&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::StringSize(const string& value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:530:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::StringSize(const string&)
   static inline int StringSize(const string& value);
                     ^~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1012:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::BytesSize(const string&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::BytesSize(const string& value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:531:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::BytesSize(const string&)
   static inline int BytesSize (const string& value);
                     ^~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1017:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::GroupSize(const google::protobuf::MessageLite&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::GroupSize(const MessageLite& value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:533:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::GroupSize(const google::protobuf::MessageLite&)
   static inline int GroupSize  (const MessageLite& value);
                     ^~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1020:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::MessageSize(const google::protobuf::MessageLite&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::MessageSize(const MessageLite& value) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:534:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::MessageSize(const google::protobuf::MessageLite&)
   static inline int MessageSize(const MessageLite& value);
                     ^~~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1027:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::GroupSizeNoVirtual(const MessageType_WorkAroundCppLookupDefect&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::GroupSizeNoVirtual(
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:540:21: error: candidate is: template<class MessageType> static int google::protobuf::internal::WireFormatLite::GroupSizeNoVirtual(const MessageType&)
   static inline int GroupSizeNoVirtual  (const MessageType& value);
                     ^~~~~~~~~~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1032:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(const MessageType_WorkAroundCppLookupDefect&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::MessageSizeNoVirtual(
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:542:21: error: candidate is: template<class MessageType> static int google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(const MessageType&)
   static inline int MessageSizeNoVirtual(const MessageType& value);
                     ^~~~~~~~~~~~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1038:15: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::LengthDelimitedSize(size_t)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 inline size_t WireFormatLite::LengthDelimitedSize(size_t length) {
               ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:546:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::LengthDelimitedSize(int)
   static inline int LengthDelimitedSize(int length);
                     ^~~~~~~~~~~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1047:8: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::Int64Size(const google::protobuf::RepeatedField<long int>&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 size_t WireFormatLite::Int64Size (const RepeatedField< int64>& value) {
        ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:514:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::Int64Size(google::protobuf::int64)
   static inline int Int64Size   ( int64 value);
                     ^~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1056:8: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::UInt64Size(const google::protobuf::RepeatedField<long unsigned int>&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 size_t WireFormatLite::UInt64Size(const RepeatedField<uint64>& value) {
        ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:516:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::UInt64Size(google::protobuf::uint64)
   static inline int UInt64Size  (uint64 value);
                     ^~~~~~~~~~
In file included from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:0:
/usr/local/include/google/protobuf/wire_format_lite_inl.h:1065:8: error: prototype for ‘size_t google::protobuf::internal::WireFormatLite::SInt64Size(const google::protobuf::RepeatedField<long int>&)’ does not match any in class ‘google::protobuf::internal::WireFormatLite’
 size_t WireFormatLite::SInt64Size(const RepeatedField< int64>& value) {
        ^~~~~~~~~~~~~~
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:45:0,
                 from /home/sai/catkin_ws/build/mavlink_sitl_gazebo/CommandMotorSpeed.pb.cc:13:
/usr/include/google/protobuf/wire_format_lite.h:518:21: error: candidate is: static int google::protobuf::internal::WireFormatLite::SInt64Size(google::protobuf::int64)
   static inline int SInt64Size  ( int64 value);
                     ^~~~~~~~~~
make[2]: *** [CMakeFiles/mav_msgs.dir/CommandMotorSpeed.pb.cc.o] Error 1
make[1]: *** [CMakeFiles/mav_msgs.dir/all] Error 2
make: *** [all] Error 2
cd /home/sai/catkin_ws/build/mavlink_sitl_gazebo; catkin build --get-env mavlink_sitl_gazebo | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed     << mavlink_sitl_gazebo:make                       [ Exited with code 2 ]
Failed    <<< mavlink_sitl_gazebo                            [ 1.2 seconds ]   
Abandoned <<< mavros_extras                                  [ Unrelated job failed ]
Abandoned <<< avoidance                                      [ Unrelated job failed ]
Abandoned <<< global_planner                                 [ Unrelated job failed ]
Abandoned <<< local_planner                                  [ Unrelated job failed ]
Abandoned <<< safe_landing_planner                           [ Unrelated job failed ]
Abandoned <<< test_mavros                                    [ Unrelated job failed ]
[build] Summary: 56 of 63 packages succeeded.                                  
[build]   Ignored:   6 packages were skipped or are blacklisted.               
[build]   Warnings:  None.                                                     
[build]   Abandoned: 6 packages were abandoned.                                
[build]   Failed:    1 packages failed.                                        
[build] Runtime: 1 minute and 31.4 seconds total.

Asked by AM97 on 2019-07-12 07:50:31 UTC

Comments

Seeing all the errors about Protobuf prototypes having changed: perhaps you've (inadvertently) changed the version of Protobuf installed on your system. That could cause something like this.

Asked by gvdhoorn on 2019-07-12 10:06:35 UTC

@gvdhoorn So What should I do now??

Asked by AM97 on 2019-07-12 10:27:40 UTC

Figure out whether you've changed the Protobuf package you have on your system (fi by installing an update).

Other than that: I wouldn't know.

Asked by gvdhoorn on 2019-07-12 10:30:15 UTC

@gvdhoorn I think one of my colleagues when he used my laptop changed it seems but he is not sure what he had changed. He is pretty new to this and when the error came and googled it and done something. But he is not sure what he had done. So is there any other way to figure it out??

Asked by AM97 on 2019-07-14 03:19:58 UTC

Answers