Skip to content

Failed to launch GUI of Ignition Gazebo on macOS #2848

@atinfinity

Description

@atinfinity

Environment

  • OS Version: macOS Sonoma 14.4
  • binary build: Ignition Fortress

Description

  • Expected behavior:
    • launch GUI of Ignition Gazebo
  • Actual behavior:
    • Failed to launch GUI of Ignition Gazebo. And, the following message was displayed.
$ ign gazebo -v 4 -g
`ign gazebo` currently only works with the -s argument on macOS.
See https://github.com/gazebosim/gz-sim/issues/44 for more info.

Steps to reproduce

I installed ignition-fortress via brew(https://gazebosim.org/docs/fortress/install_osx/).

I installed ignition-fortress to avoid the issue of CMake 4.0(osrf/homebrew-simulation#3003)

brew tap osrf/simulation
brew edit ogre1.9

And, I add the following description.

  patch do
    url "https://gist.githubusercontent.com/atinfinity/19911c781319ec471d52ad2525922cb6/raw/a2bca19b8156f38a00e1b0ea5cfd919d98413399/ogre-cmake-patch.diff"
    sha256 "466ae0277babc45d74066325d22742b491d104714ec91be7d90c3c0fdc417b67"
  end
brew edit ignition-tools

And, I add the following description.

  patch do
    url "https://gist.githubusercontent.com/atinfinity/7ebce5aedc90655445355cb1e1f6ba24/raw/5490dded4cf859d08e6bb29b41537041a714cc18/ignition-tools-cmake-patch.diff"
    sha256 "67a0654f0154f4c5311eeb62b33aea3c5bb98987eb9f44d8ab232364a989fb66"
  end

I installed ignition-fortress.

brew install ignition-fortress
ign gazebo -v 4 shapes.sdf -s
ign gazebo -v 4 -g

These steps are described in https://gazebosim.org/docs/fortress/getstarted/#macos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmacOSmacOS support

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions