Compiling on Apple Mac
Mac Build history.
At first just compiling the data on build experiences, then later making it pretty (or someone else can contribute that).
Date of build attempt: September 2024
Game version: 1.90
Git commit: 0b1ff49a7 (tag: 1.90) Updated changelog to reflect the changes in customsounds.plist.
Build result: does not build on MacOS 10.4.6 with XCode 11.3.1
Reasons:
- Oolite uses libstdc++ and Apple deprecated this long ago in favor of clang's libc++
- libpng and sparkle Mac dependent resources are downloaded from URLs that no longer function (oolite.org)
Bogatyr started with the above failure and produced fixes for the problems in consulting with other members. libpng and the sparkle framework were incorporated directly into the Mac deps directory of the oolite repo The XCode project was updated to use clang libc++, which also required bumping the minimum mac deployment version from 10.6 to 10.7 Now we have:
Date of build attempt: September 20, 2024
Game version: 1.90
Git commit(s):
- 282c3d865 (HEAD -> 1.90-mac-build-bugfix, origin/1.90-mac-build-bugfix) Merge pull request #490 from keaaw/1.90-mac-build-bugfix
- 0b8d5c2e9 * libpng and the Sparkle framework are now in the repo in deps/Cocoa-deps (no more downloading from external sites during the build)
Commit 282c3d865 is what was built, commit 0b8d5c2e9 has the details of the changes in the commit log.
Build result: successful build on MacOS 10.14.6 (2018 MacBook Pro) with XCode 11.3.1
Verified runs on os/systems: MacOS 10.8.5 late 2009 mac mini, MacOS 10.14.6 (2018 MacBook Pro)
Observed issues: keyboard response is sluggish compared to the quick response of the oolite.space download version 1.90, needs investigation.