-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protobuf error on ubuntu 18.04 #2496
Comments
Original comment by Jiří Kerner (Bitbucket: jiriker). Hello, I am experiencing the same issue, but with a different system configuration. I will leave my notes on the issue here and if this is not a proper place, I will open new issue for it later. lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial Today I upgraded Gazebo to version gazebo9/unknown,unknown,now 9.3.0-1~xenial amd64 [installed] After that in order to be able to compile Gazebo plugins, u installed libgazebo9-dev, that forced me to update libprotobuf-dev and protobuf-compiler from 2.6.1-1.3 to 3.1.0 sudo apt install libprotobuf-dev=2.6.1-1.3
The following packages will be REMOVED:
libgazebo9-dev libignition-msgs-dev libignition-transport4-dev libprotoc-dev
The following packages will be DOWNGRADED:
libprotobuf-dev I think that while Gazebo 9.3.0 ( at least development package ) is configured to use Protobuf 3.1.0, package libignition-msgs/unknown,unknown,now 1.0.0-2~xenial amd64 [installed,automatic] was not updated for release of Gazebo 9.3.0 and that is what is causing these problems. Unfortunately I cannot tell if the case is that Gazebo 9.3.0 updated protobuf and ign-msgs are left behind, or the other way around. |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig). |
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero). Hello: Opening the
It seems to be generated by protobuf3. Could you please post instructions about how could I reproduce your problems? |
Original comment by pierre kancir (Bitbucket: pkancir). Hello, I have double check and I get the same header than you. I revert back from ubuntu-proposed package, but I still get the error.
Thanks |
Original comment by pierre kancir (Bitbucket: pkancir). I found the issue. Sorry for the noise ... Gazebo is the only projet where I need protobuf, so I didn't notice that before. I am closing this. |
Original comment by pierre kancir (Bitbucket: pkancir).
|
Original comment by Lý Nguyễn (Bitbucket: Lý Nguyễn). Hi pierre kancir (pkancir) , sorry for the interference. I’m now having problem with Google protobuf. Could you please give me some solution for following problems?
Thanks in advance. |
Original comment by Markus Weber (Bitbucket: Fellfalla). pierre kancir (pkancir) Can u please describe the steps you took to resolve this issue? |
Here is a script to remove the invasive protobuf installation. You have to run it as sudo/root, please read what it deletes to make sure it will behave properly on your system but it fixed the issue for me and my team.
|
Original report (archived issue) by pierre kancir (Bitbucket: pkancir).
The original report had attachments: log3.txt
Hello,
I try to build an external plugin with gazebo9 on ubunut 8.04 form OSRF repo and it fails with many error like "/usr/include/ignition/msgs1/ignition/msgs/color.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"
See log file attached
The text was updated successfully, but these errors were encountered: