Jump to content
andy5995

building 0ad on OSX High Sierra using brew

Recommended Posts

I thought I'd see if I could get it built using brew to install the dependencies. The official build instructions seem kind of old; they don't mention brew or recent version of xcode. I figured some instructions for building using brew would be easier to maintain than the build-osx-libs.sh script, and easier for developers new to the project. Or did I miss something? Is there a reason that brew isn't being suggested?

Share this post


Link to post
Share on other sites
41 minutes ago, andy5995 said:

I thought I'd see if I could get it built using brew to install the dependencies.

If you try to build the game with a different build system, you'd need to know which dependencies are needed. Because it seems, that you didn't install SpiderMonkey.

41 minutes ago, andy5995 said:

The official build instructions seem kind of old; they don't mention brew or recent version of xcode.

Old != invalid. Also we can't use brew yet, because brew supports well only 10.11+, 10.5–10.10 are supported on a best-effort basis (https://docs.brew.sh/Installation), but we support 10.9+ (for bundles 10.7+).

41 minutes ago, andy5995 said:

I figured some instructions for building using brew would be easier to maintain than the build-osx-libs.sh script, and easier for developers new to the project.

I don't think that the brew can fully replace the script, because we need to use custom compilation options and to patch some libraries anyway.

  • Thanks 1

Share this post


Link to post
Share on other sites
1 hour ago, stanislas69 said:

I believe @wraitii is using brew though. Maybe there could be an alternative option. 

I'd call it an additional option, because we have some custom things. Brew can be an alternative option in case we remove these custom things.

  • Like 1

Share this post


Link to post
Share on other sites

I do have a custom setup using brew for most libraries, but I still use the script for some because it doesn't work otherwise. It's also a super-hack and brew is very much not nice if you're aiming at using the same versions across multiple computers as it's not always possible to access a specific version.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×