Gazebo 11 problem with protobuf version (3.12.4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using gazebo on Fedora 33, I installed the version 11 from https://copr.fedorainfracloud.org/coprs/g/robotics-sig/gazebo-latest/.

As I was following this tutorial to make a plugin (http://gazebosim.org/tutorials?tut=plugins_hello_world&cat=write_plugin) I got a compilation error:
```
      |                                                   AuxillaryParseTableField
Dans le fichier inclus depuis /usr/include/gazebo-11/gazebo/msgs/MessageTypes.hh:135,
                 depuis /usr/include/gazebo-11/gazebo/msgs/msgs.hh:35,
                 depuis /usr/include/gazebo-11/gazebo/gazebo_core.hh:20,
                 depuis /usr/include/gazebo-11/gazebo/gazebo.hh:20,
                 depuis /home/eric/GitGalaxy/robotics/gazebo/plugin_tutorial/hello_world.cc:1:
/usr/include/gazebo-11/gazebo/msgs/wrench_stamped.pb.h:58:51: erreur: « AuxiliaryParseTableField » dans l'espace de noms « google::protobuf::internal » ne nomme pas un type; vouliez-vous utiliser « AuxillaryParseTableField » ?
   58 |   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                   AuxillaryParseTableField
```

After investigating, it seems that it is a protobuf problem.

This commit changed the spelling involved in the error: https://github.com/protocolbuffers/protobuf/commit/2ae7cf0e03c3469973e592e812565e4ee2470e0b

The commit is tagged with the version 3.12.3 (the version probably used for the gazebo compilation). However, the tagging was wrong for 3.12.X and should not include this commit. So the team released a 3.12.4 version without this commit and some others. (https://github.com/protocolbuffers/protobuf/issues/7632#issuecomment-666764578)

Right now Fedora 33 has the protobuf version 3.12.4 in the official repository so it seems incompatible.

So, my question is it possible to build the packages again in https://copr.fedorainfracloud.org/coprs/g/robotics-sig/gazebo-latest with the actual protobuf version in F33 repository (3.12.4) ?

Regards,
Eric
_______________________________________________
robotics mailing list -- robotics@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to robotics-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/robotics@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Electronics Lab]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Summer Coding]

  Powered by Linux