2013-03-20

Build using XCode:

← Older revision

Revision as of 19:30, 20 March 2013

(2 intermediate revisions not shown)

Line 48:

Line 48:

*  Install XCode

*  Install XCode

*  Download Fink

*  Download Fink

-

*  Download a copy of the
SVN
repository

+

*  Download a copy of the
source-code
repository
(see [[WesnothRepository]]).

Use Fink to install the latest versions of the following:

Use Fink to install the latest versions of the following:

Line 60:

Line 60:

Then, these are the steps you repeat every time you want to compile wesnoth:

Then, these are the steps you repeat every time you want to compile wesnoth:

-

* Get an up-to-date copy of the game source and resources
- usually by running svn update
.

+

* Get an up-to-date copy of the game source and resources.

* change the working directory (using the cd command) to the bottom/"root" folder of those game files

* change the working directory (using the cd command) to the bottom/"root" folder of those game files

* execute the command ./autogen.sh

* execute the command ./autogen.sh

Line 146:

Line 146:

This method is currently rather disjointed as some required parts have not been integrated for a while. The most up to date versions of each of the components are listed here, but building versions of Wesnoth older than 1.9 will not work using these instructions.

This method is currently rather disjointed as some required parts have not been integrated for a while. The most up to date versions of each of the components are listed here, but building versions of Wesnoth older than 1.9 will not work using these instructions.

-

The Xcode project can be found in the
svn tree
and is usually up to date. The forum contains a link to a copy of the headers and frameworks needed for early 1.9, but Boost is out of date and the included copy of SDL does not support full screen in Lion. You will need to install your own version of Boost, and get a recent snapshot of SDL from the hg repository to support Lion.

+

The Xcode project can be found in the
repository
and is usually up to date. The forum contains a link to a copy of the headers and frameworks needed for early 1.9, but Boost is out of date and the included copy of SDL does not support full screen in Lion. You will need to install your own version of Boost, and get a recent snapshot of SDL from the hg repository to support Lion.

Here are some basic steps to compile with XCode, most of which are taken from the [http://www.wesnoth.org/forum/viewtopic.php?t=287 thread discussion on the same topic].

Here are some basic steps to compile with XCode, most of which are taken from the [http://www.wesnoth.org/forum/viewtopic.php?t=287 thread discussion on the same topic].

Show more