PX4 Build Issue on MacOS

Hello, I am getting build errors while building PX4 on MacOS.

Any help is much appreciated. I am also new to PX4

My MacOS is 10.11.16 El Capitan.

I used the following instructions on the px4 support website:

Terminal Commands:
brew tap PX4/px4
brew install px4-dev
pip3 install --user pyserial empy toml numpy pandas jinja2 pyyaml pyros-genmsg packaging
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk14
brew install px4-sim-jmavsim
cd YourDirectory
git clone [GitHub - PX4/PX4-Autopilot: PX4 Autopilot Software]
cd Firmware make px4_sitl jmavsim

Error Message while installing px4-dev or px4-sim-jmavsim

==> make images
Last 15 lines from /Users/kade98002/Library/Logs/Homebrew/openjdk/02.make:
./src/jdk.incubator.jpackage/share/native/applauncher/AppLauncher.cpp:224:41: error: default initialization of an object of const type ‘const (anonymous namespace)::ResetLastErrorMsgAtEndOfScope’ without a user-provided default constructor
const ResetLastErrorMsgAtEndOfScope resetLastErrorMsg;
^
= {}
1 error generated.

  • All command lines available in /private/tmp/openjdk-20201123-34274-290o7s/jdk15u-jdk-15.0.1-ga/build/macosx-x86_64-server-release/make-support/failure-logs.
    === End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for ‘] Error’.
Hint: See doc/building.html#troubleshooting for assistance.

make[1]: *** [main] Error 2
make: *** [images] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
use openjdk 11 for sonarqube-lts https://github.com/Homebrew/homebrew-core/pull/60319

Error: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew’s GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

I was able to upgrade to MacOS High Sierra and build PX4 for JMavSim.

While trying to build PX4 Gazebo, I get the following error about needing to upgrade to MoJave.

Kades-MacBook-Pro:firmware kade98002$ brew install px4-sim-gazebo

Updating Homebrew…

Warning: You are using macOS 10.13.

We (and Apple) do not provide support for this old version.

You will encounter build failures with some formulae.

Please create pull requests instead of asking for help on Homebrew’s GitHub,

Twitter or any other official channels. You are responsible for resolving

any issues you experience while you are running this

old version.

==> Installing px4-sim-gazebo from px4/px4

ignition-transport8: macOS Mojave or newer is required for this software.

sdformat9: macOS Mojave or newer is required for this software.

Error: Unsatisfied requirements failed this build.

Are there any workarounds for this ?

Thanks in advance.