[In-Progress] Fixing Mac builds (master / 3.2.x)

Discuss the future of Warzone 2100 with us.

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby Cyp » 13 Aug 2017, 21:54

Thanks, it's past due that someone fixes the mac builds.
Cyp
Evitcani
Evitcani
 
Posts: 693
Joined: 17 Jan 2010, 23:35

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby Cyp » 15 Aug 2017, 10:05

Uh, I don't get these forums. I disapproved what looked like a duplicate post, and now the original post is gone, too?

Sorry, would you mind reposting, if you still have it?
Cyp
Evitcani
Evitcani
 
Posts: 693
Joined: 17 Jan 2010, 23:35

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby pastdue » 15 Aug 2017, 18:16

Yeah, I edited the original message to update the progress log, but it looks like it the forums then treated it as a new message from whatever approval UI you have. Ah well.

I don't have the original message saved, but in brief:

  • I am working on the heavy-lifting of fixing the macOS builds (specifically: the master / 3.2 branch).
  • The goal is to get the build process working on macOS 10.12 / 10.13 with Xcode 8 / 9.
  • If possible, support for running on earlier versions of macOS will be maintained, but some functionality may not be available. At a minimum, the lowest supported macOS will be 10.7 (but it may be 10.9 or higher).

Initial patches will be incoming relatively soon.
pastdue
Rookie
Rookie
 
Posts: 16
Joined: 13 Aug 2017, 17:44

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby defishguy » 15 Aug 2017, 19:26

I'm down for helping out.
defishguy
New user
 
Posts: 1
Joined: 15 Aug 2017, 19:23

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby pastdue » 17 Aug 2017, 19:42

The first in a series of patches is now available:

For reasons outlined in more detail in the original (accidentally deleted) post, OpenSSL is no longer an option for Mac builds, and so replacing it is a prerequisite for getting Mac builds working again.

(In brief: Modern Mac SDKs no longer allow linking to it, the pre-shipped version is ancient and officially deprecated, and bundling it isn't possible because of license incompatibility.)

As a side benefit, this also removes a bunch of cruft that was required to initialize and work with OpenSSL.
pastdue
Rookie
Rookie
 
Posts: 16
Joined: 13 Aug 2017, 17:44

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby pastdue » 24 Aug 2017, 02:20

The second in a series of patches is now available:


This completely fixes Mac builds. See the new macosx/README.md for detailed build instructions.

Coming next? Retina / High-DPI support. 8)
pastdue
Rookie
Rookie
 
Posts: 16
Joined: 13 Aug 2017, 17:44

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby pastdue » 08 Sep 2017, 02:52

Just in case anyone was following along, these first two patches are now merged into the master / 3.2.x branch.

Thus, that branch can now be compiled using Xcode 8 / 9 on macOS 10.12 / 10.13 with very little hassle. Full build instructions are available in the new macosx/README.md.
pastdue
Rookie
Rookie
 
Posts: 16
Joined: 13 Aug 2017, 17:44

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby Rommel » 28 Sep 2017, 06:32

If you can provide an installable DMG I would be happy to test gameplay / multiplayer
Moving back instead of forward
Seems to me absurd
~
Metallica - Eye of the beholder
User avatar
Rommel
Trained
Trained
 
Posts: 443
Joined: 03 Nov 2012, 19:44

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby Echoes » 21 Nov 2017, 23:17

Thanks! I managed to compile the newest version. Since I have a messy build environment and an old version of OS X, I used a virtual machine with a fresh install of Sierra, latest XCode and the instructions in the repo

For those who want the compiled binary: here's a dmg of the vanilla build
Echoes
New user
 
Posts: 2
Joined: 17 Nov 2017, 12:45

Re: [In-Progress] Fixing Mac builds (master / 3.2.x)

Postby Echoes » 22 Nov 2017, 15:02

I ran it successfully on 10.11.6 and 10.12.whateverIsLatest, by the way
Echoes
New user
 
Posts: 2
Joined: 17 Nov 2017, 12:45


Return to Development