gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.17k stars 477 forks source link

Cannot find member named ‘SetUserAgent’ #2494

Closed osrf-migration closed 6 years ago

osrf-migration commented 6 years ago

Original report (archived issue) by Jerry Lin (Bitbucket: jerry73204).

The original report had attachments: gazebo-hg-10.0.1.37153-1-x86_64-build.log


environment

Steps to re-produce

I build the gazebo-hg AUR package, which should provide up-to-date sources, on Arch Linux. The building instructions is shown in the PKGBUILD file, which follows the official instructions with minor patches.

To build an AUR package, I download the snapshot of this AUR package (the link can be seen in AUR page), then run makepkg to build this package.

The build finally ends in ‘class ignition::fuel_tools::ClientConfig’ has no member named ‘SetUserAgent’ error. It seems it's related to ignition-* packages. Please checkout the attachment for detailed build logs.

osrf-migration commented 6 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


You need the latest minor release of ignition-fuel-tools, 1.2.0:

http://packages.osrfoundation.org/gazebo/ubuntu-stable/pool/main/i/ignition-fuel-tools1/

osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


if that's the case, then we should add that version to gazebo's find_package call for fuel-tools

osrf-migration commented 6 years ago

Original comment by Jerry Lin (Bitbucket: jerry73204).


I build the ignition-fuel-tools 1.2.0 manually. The problem solved. Thanks.

osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


see pull request #2992

osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


updated gazebo find_package call to require fuel tools 1.2 in pull request #2992, which should make this problem easier to diagnose in the future