How to Compile development trunk for mac?
How to Compile development trunk for mac?
Just as the title states, can someone post a simple how to, of how to compile nightlies for the mac.
Re: How to Compile development trunk for mac?
As I have next to zero experience with Macs I can only point you in the right direction.hardy24 wrote: Just as the title states, can someone post a simple how to, of how to compile nightlies for the mac.
Use a subversion client to check out a working copy. Then open the Xcode project (it's in the directory macosx) and try compiling with that.
Unfortunately that's all I know about it.
[me=Giel]is much more experienced with GNU/Linux and knows some stuff on Windows as well[/me]
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Re: How to Compile development trunk for mac?
I'd take the instructions with a large grain of salt...
Regan
Code: Select all
cat README.BUILD.txt
This directory contains support files for the Mac OS X port of Warzone 2100.
Since April, 2007, The Mac OS X port has been built using an Xcode project
that automatically downloads and builds all necessary external libraries.
Also, since that time, the Mac OS X port has produced a universal binary
and has required Mac OS X 10.4 "Tiger" to run.
To build the game, just run the following command:
xcodebuild -project Warzone.xcodeproj -target Warzone -configuration Release
You will also need a recent version of GNU bison to complete the build
process. The version included with Mac OS X 10.4 "Tiger" is not capable
of properly processing the grammars that Warzone 2100 uses.
There are two build configurations available. 'Release' is compiled
normally, while 'Debug' sets the DEBUG preprocessor flag and automatically
sets the game's debugging options to the equivalent of --debug all when
launched, unless overwritten with a --debug command-line option. The
debugging output can be viewed with Console.app.
Code: Select all
xcodebuild -project Warzone.xcodeproj -target Warzone -configuration Release
xcodebuild: Error: the project name Warzone.xcodeproj does not have a valid extension.
uname -a
Darwin some.hostname.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
Regan
Re: How to Compile development trunk for mac?
It is simpler to open up the project in Xcode. You need to be running either 10.4 or 10.5 with the latest version of Xcode which is available for your version of OS X. Other than that, it should build out of the box on 10.5 after you have manually accepted the sourceforge SSL certificate (ask if you need help).
On 10.4 you will need to manually install SVN (subversion). There are several packages available (.dmg) which provide builds. (It is quite likely you have already downloaded and installed one.) As with 10.5, you still need to manually accept the certificate.
Regards, Freddie.
On 10.4 you will need to manually install SVN (subversion). There are several packages available (.dmg) which provide builds. (It is quite likely you have already downloaded and installed one.) As with 10.5, you still need to manually accept the certificate.
Regards, Freddie.
Re: How to Compile development trunk for mac?
I am about a minute from finding something more interesting to do.. :mad;
Regan
Re: How to Compile development trunk for mac?
This is not the newest version of Xcode available for your system. Please upgrade.
Regards, Freddie.
Regards, Freddie.