Instructions for building a 64-bit version of PHD2 that will run on macOS 14.0 Sonoma or newer
The build will be using a few tools and libraries from HomeBrew. Macports should work just as well it you prefer that.
brew install cmake
We really just need the command-line tools, we won't be using XCode itself.
https://wxwidgets.org/downloads/
Run the following commands to build wxWidgets static libs and install them to a location $WXWIN
mkdir wxWidgets-3.1.7-build cd wxWidgets-3.1.7-build /path/to/wxWidgets-3.1.7/configure --disable-shared --with-cocoa --prefix=$WXWIN \ --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk \ --with-macosx-version-min=14.0 \ --with-libpng=builtin \ --with-regex=builtin \ --with-libiconv=builtin \ --with-libtiff=builtin \ --without-libcurl make make install
brew install libnova cfitsio
git clone https://github.com/OpenPHDGuiding/phd2.git
Run cmake
cd phd2 ./run_cmake-osx
cd tmp make
This will build PHD2.app
PHD2.app
There was an error while loading. Please reload this page.