Simulation tools installtion fail on OSX

I wanna reinstall everything about PX4 developing on my OSX(sequoia 15.3.1). But the simulation tool can’t be installed successfully. The ogre seems broken.

% brew reinstall osrf/simulation/ogre

Warning: osrf/simulation/ogre has been deprecated because it is past end-of-life date! It will be disabled on 2025-08-31.

==> **Fetching** **osrf/simulation/ogre**

==> **Downloading https://gist.github.com/wjwwood/4237236/raw/e357f1b9fa8b26d02ed8**

==> **Downloading from https://gist.githubusercontent.com/wjwwood/4237236/raw/e357**

######################################################################### 100.0%

==> **Downloading https://gist.github.com/wjwwood/4237236/raw/57cb907304433cc0bb83**

==> **Downloading from https://gist.githubusercontent.com/wjwwood/4237236/raw/57cb**

######################################################################### 100.0%

==> **Downloading https://gist.github.com/wjwwood/4237236/raw/31ae53cefdb693cb2fb8**

==> **Downloading from https://gist.githubusercontent.com/wjwwood/4237236/raw/31ae**

######################################################################### 100.0%

==> **Downloading https://gist.github.com/wjwwood/4237236/raw/9c7df6689da4e0b35842**

==> **Downloading from https://gist.githubusercontent.com/wjwwood/4237236/raw/9c7d**

######################################################################### 100.0%

==> **Downloading https://gist.github.com/wjwwood/4237236/raw/d667813d5ee1e712e0ea**

==> **Downloading from https://gist.githubusercontent.com/wjwwood/4237236/raw/d667**

######################################################################### 100.0%

==> **Downloading https://gist.github.com/wjwwood/5672104/raw/bf69b4528b3090ad99a7**

==> **Downloading from https://gist.githubusercontent.com/wjwwood/5672104/raw/bf69**

######################################################################### 100.0%

==> **Downloading https://gist.github.com/hgaiser/7346167/raw/3167c2fde153618e55b3**

==> **Downloading from https://gist.githubusercontent.com/hgaiser/7346167/raw/3167**

######################################################################### 100.0%

==> **Downloading https://gist.github.com/scpeters/b9034c613189426c2d6a/raw/b74a4c**

==> **Downloading from https://gist.githubusercontent.com/scpeters/b9034c613189426**

######################################################################### 100.0%

==> **Downloading https://gist.githubusercontent.com/scpeters/95efda97cc2ece7774e1**

######################################################################### 100.0%

==> **Downloading https://downloads.sourceforge.net/project/ogre/ogre/1.7/ogre_src**

Already downloaded: /Users/kevindsp/Library/Caches/Homebrew/downloads/60a47b12772c040475917ef20117f23d6bf7c80c30660b9afb56b18fa0558d38--ogre_src_v1-7-4.tar.bz2

==> **Reinstalling** **osrf/simulation/ogre**

==> **Patching**

==> **Applying pkg_config_fix.patch**

==> **Applying prevent_framework_apple.patch**

==> **Applying osx_isystem.patch**

==> **Applying osx_linking.patch**

==> **Applying replace_pbxcp_with_ditto.patch**

==> **Applying fix_boost_linking.patch**

==> **Applying ogre.patch**

==> **Applying ogre_agl.diff**

==> **Applying bitbucket.org_scpeters_ogre_commits_78331c592397878ab3377b5f9b55086**

==> **cmake -DCMAKE_OSX_ARCHITECTURES='x86_64' -F/Library/Frameworks/ -lfreetype -**

Last 15 lines from /Users/kevindsp/Library/Logs/Homebrew/ogre/01.cmake:

-lfreetype

-DOGRE_BUILD_PLUGIN_CG=OFF

-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/ogre/1.7.4

-DCMAKE_INSTALL_LIBDIR=lib

-DCMAKE_BUILD_TYPE=Release

-DCMAKE_FIND_FRAMEWORK=LAST

-DCMAKE_VERBOSE_MAKEFILE=ON

-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=/usr/local/Homebrew/Library/Homebrew/cmake/trap_fetchcontent_provider.cmake

-Wno-dev

-DBUILD_TESTING=OFF

-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk

..

CMake Error: Unknown argument -lfreetype

CMake Error: Run 'cmake --help' for all supported options.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):

These open issues may also help:

gz-harmonic failing to build on macOS arm, due to ogre failure gz-harmonic failing to build on macOS arm, due to ogre failure · Issue #2478 · osrf/homebrew-simulation · GitHub

ogre’s formula is deprecated.

This build failure is expected behaviour.

Do not create issues about this on Homebrew’s GitHub repositories.

Any opened issues will be immediately closed without response.

Do not ask for help from Homebrew or its maintainers on social media.

You may ask for help in Homebrew’s discussions but are unlikely to receive a response.

Try to figure out the problem yourself and submit a fix as a pull request.

We will review it but may or may not accept it.

2 Likes

Hey,
Could you open an issue on PX4 Github?

Yeah.

1 Like