Difference between revisions of "Compiling on Apple Mac"

From Elite Wiki
(Created page with "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 b...")
 
(Added Links, tagged as Oolite Development, added formal structure)
Line 1: Line 1:
Mac Build history.
+
== Mac Build history ==
  
At first just compiling the data on build experiences, then later making it pretty (or someone else can contribute that).
+
Just compiling the data on build experiences.
  
----------------------
+
== Game version: 1.90 ==
 +
=== First Attempt ===
 
Date of build attempt: September 2024
 
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.
 
Git commit: 0b1ff49a7 (tag: 1.90) Updated changelog to reflect the changes in customsounds.plist.
Line 16: Line 15:
 
* libpng and sparkle Mac dependent resources are downloaded from URLs that no longer function (oolite.org)
 
* 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.
+
=== Second Attempt ===
libpng and the sparkle framework were incorporated directly into the Mac deps directory of the oolite repo
+
[[User:Bogatyr|Bogatyr]] started with the above failure and produced fixes for the problems in consulting with other members. <br>
 +
libpng and the sparkle framework were incorporated directly into the Mac deps directory of the oolite repo <br>
 
The XCode project was updated to use clang libc++, which also required bumping the minimum mac deployment version from 10.6 to 10.7
 
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:
 
Now we have:
  
 
Date of build attempt: September 20, 2024
 
Date of build attempt: September 20, 2024
 
Game version: 1.90
 
  
 
Git commit(s):
 
Git commit(s):
Line 37: Line 36:
  
 
Observed issues: keyboard response is sluggish compared to the quick response of the oolite.space download version 1.90, needs investigation.
 
Observed issues: keyboard response is sluggish compared to the quick response of the oolite.space download version 1.90, needs investigation.
 +
 +
 +
== Recent Links ==
 +
*[https://bb.oolite.space/viewtopic.php?t=21662 Attempting to get 1.91 built on Mac] (June 2024: Phkb's attempt to build v.1.91 for AppleMac, then Bogatyr's work on v.1.90)
 +
*[https://bb.oolite.space/viewtopic.php?t=21692 Resurrecting the Mac build] (Sep 2024: Bogatyr's work on v.1.90)
 +
*[https://bb.oolite.space/viewforum.php?f=10 Oolite-Mac] Forum for "Oolite-Mac" with the above threads - and more
 +
*[[Developer's Corner]]
 +
 +
[[Category:Oolite Development]]

Revision as of 19:38, 21 September 2024

Mac Build history

Just compiling the data on build experiences.

Game version: 1.90

First Attempt

Date of build attempt: September 2024

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)


Second Attempt

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

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.


Recent Links