gazebosim / gazebo-classic

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

SDFormat max version #2205

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Gazebo 7 doesn't compile against SDFormat 5, but the error message is misleading:

Missing: SDF version >=4.1.0. Required for reading and writing SDF files.

Not sure if the best solution is to add a SDFormat_MAX_VERSION variable here:

https://github.com/osrf/gazebo/blob/21c6b299e74a0a3e8f19a6c3b1cb1241b74d9eea/cmake/SearchForStuff.cmake#L533

Or to look for the specific package name as it's done in the same file for the ignition libraries.

osrf-migration commented 7 years ago

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


How about:

Missing: SDF major version 4, version >= 4.1.0. Required for reading and writing SDF files.
osrf-migration commented 7 years ago

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


That should be clear enough, I guess