gazebosim / gazebo-classic

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

gazebo11.14.0 fails to build against boost 1.85.0 #3385

Closed scpeters closed 6 months ago

scpeters commented 6 months ago

Environment

Description

Steps to reproduce

  1. Build from source on macOS with boost 1.85.0 from homebrew or run https://build.osrfoundation.org/job/gazebo-ci-gazebo11-homebrew-amd64

Output

Build Status https://build.osrfoundation.org/job/gazebo-ci-gazebo11-homebrew-amd64/205/

gazebo/common/Console.cc:224:34: error: no member named 'branch_path' in 'boost::filesystem::path'
    this->logDirectory = logPath.branch_path().string();
                         ~~~~~~~ ^
1 error generated.

The branch_path method had been deprecated and is now removed:

'branch_path' is deprecated: Use path::parent_path() instead

https://build.osrfoundation.org/job/gazebo-ci-gazebo11-homebrew-amd64/204/clang/fileName.1462497174/

scpeters commented 6 months ago

should be an easy fix: https://github.com/gazebosim/gazebo-classic/pull/3386