<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adso</id>
	<title>Spring - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adso"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/Adso"/>
	<updated>2026-11-08T18:19:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3422</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3422"/>
		<updated>2009-09-09T04:52:53Z</updated>

		<summary type="html">&lt;p&gt;Adso: /* Get Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Building_spring|Building Spring]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
== Build from source on MacOSX ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.4.1) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.4.1_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.4.1_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are vailable using [http://http://www.macports.org/ Macports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers package] (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
=== Full list ===&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
***make &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL &#039;&#039;Please check the OpenAL section for MacOSX specific info&#039;&#039;&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.) &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK &#039;&#039;(pre-installed on OSX)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Using Macports ===&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded and configured Macports use these commands to download / compile and install the required dependencies :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo port install cmake&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl-framework&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost-jam&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libdevil&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libogg&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libvorbis&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install python25&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all was successful, you are very close to being able to compile Spring natively!&lt;br /&gt;
&lt;br /&gt;
=== OpenAL ===&lt;br /&gt;
&lt;br /&gt;
After having mountains of problems myself with the OpenAL pre-installed with the Xcode tools, I discoverd that it is version 1.0 of OpenAL (not the correct version we want).&lt;br /&gt;
&lt;br /&gt;
Head to your /System/Library/Framework/ folder and delete any trace of OpenAL framework / folders that are there.&lt;br /&gt;
&lt;br /&gt;
[http://kcat.strangesoft.net/openal-releases/openal-soft-1.8.466.tar.bz2 Now download this copy of OpenAL]&lt;br /&gt;
&lt;br /&gt;
Using the terminal, go into the folder where you downloaded openal-soft and pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;bzip2 -d openal-soft-xxxx.tar.bz2 | tar xvf -&amp;lt;br&amp;gt;&lt;br /&gt;
cd openal-soft-xxxx&amp;lt;br&amp;gt;&lt;br /&gt;
cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All done, now you will have no problems compiling the Sound.cpp file in spring!&lt;br /&gt;
&lt;br /&gt;
== Build And Install ==&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&lt;br /&gt;
=== Using CMake (2.6 or newer) ===&lt;br /&gt;
This is the only way I have compiled spring successfully so far :&lt;br /&gt;
&lt;br /&gt;
(could someone please add a better way? As I cannot workout how to get xcodebuild to run the &amp;quot;install portion of the make file&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install spring in all the right places to be run from a command line (but don&#039;t yet, it compiles an unusable executable, we just needed to get the makefile to install everything to the right place)&lt;br /&gt;
&lt;br /&gt;
Now pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake -G Xcode&amp;lt;br&amp;gt;&lt;br /&gt;
xcodebuild&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will have made a folder called &amp;quot;Debug&amp;quot; and will contain a command line program Spring, and Libunitsync.dylib&lt;br /&gt;
&lt;br /&gt;
now to make sure the correct copy of spring runs when you are using the terminal pass the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo cp spring /usr/local/bin&amp;lt;font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to ready to play Spring on your MacOSX system!&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
== Finalizing installation ==&lt;br /&gt;
&lt;br /&gt;
Will update later once I update the Springlobby wiki with all my OSX information!&lt;br /&gt;
&lt;br /&gt;
If you need to contact me, send a PM to &#039;&#039;&#039;adso&#039;&#039;&#039; on the forums, or catch me in #sy or #springlobby in the lobby chat :)&lt;br /&gt;
&lt;br /&gt;
--[[User:Adso|Adso]] 06:23, 29 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
[[Category:Compiling]]&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3421</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3421"/>
		<updated>2009-09-09T04:52:05Z</updated>

		<summary type="html">&lt;p&gt;Adso: /* Current (0.80.4.1) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Building_spring|Building Spring]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
== Build from source on MacOSX ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.4.1) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.4.1_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.4.1_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are vailable using [http://http://www.macports.org/ Macports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers packag]e (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
=== Full list ===&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
***make &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL &#039;&#039;Please check the OpenAL section for MacOSX specific info&#039;&#039;&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.) &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK &#039;&#039;(pre-installed on OSX)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Using Macports ===&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded and configured Macports use these commands to download / compile and install the required dependencies :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo port install cmake&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl-framework&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost-jam&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libdevil&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libogg&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libvorbis&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install python25&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all was successful, you are very close to being able to compile Spring natively!&lt;br /&gt;
&lt;br /&gt;
=== OpenAL ===&lt;br /&gt;
&lt;br /&gt;
After having mountains of problems myself with the OpenAL pre-installed with the Xcode tools, I discoverd that it is version 1.0 of OpenAL (not the correct version we want).&lt;br /&gt;
&lt;br /&gt;
Head to your /System/Library/Framework/ folder and delete any trace of OpenAL framework / folders that are there.&lt;br /&gt;
&lt;br /&gt;
[http://kcat.strangesoft.net/openal-releases/openal-soft-1.8.466.tar.bz2 Now download this copy of OpenAL]&lt;br /&gt;
&lt;br /&gt;
Using the terminal, go into the folder where you downloaded openal-soft and pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;bzip2 -d openal-soft-xxxx.tar.bz2 | tar xvf -&amp;lt;br&amp;gt;&lt;br /&gt;
cd openal-soft-xxxx&amp;lt;br&amp;gt;&lt;br /&gt;
cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All done, now you will have no problems compiling the Sound.cpp file in spring!&lt;br /&gt;
&lt;br /&gt;
== Build And Install ==&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&lt;br /&gt;
=== Using CMake (2.6 or newer) ===&lt;br /&gt;
This is the only way I have compiled spring successfully so far :&lt;br /&gt;
&lt;br /&gt;
(could someone please add a better way? As I cannot workout how to get xcodebuild to run the &amp;quot;install portion of the make file&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install spring in all the right places to be run from a command line (but don&#039;t yet, it compiles an unusable executable, we just needed to get the makefile to install everything to the right place)&lt;br /&gt;
&lt;br /&gt;
Now pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake -G Xcode&amp;lt;br&amp;gt;&lt;br /&gt;
xcodebuild&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will have made a folder called &amp;quot;Debug&amp;quot; and will contain a command line program Spring, and Libunitsync.dylib&lt;br /&gt;
&lt;br /&gt;
now to make sure the correct copy of spring runs when you are using the terminal pass the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo cp spring /usr/local/bin&amp;lt;font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to ready to play Spring on your MacOSX system!&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
== Finalizing installation ==&lt;br /&gt;
&lt;br /&gt;
Will update later once I update the Springlobby wiki with all my OSX information!&lt;br /&gt;
&lt;br /&gt;
If you need to contact me, send a PM to &#039;&#039;&#039;adso&#039;&#039;&#039; on the forums, or catch me in #sy or #springlobby in the lobby chat :)&lt;br /&gt;
&lt;br /&gt;
--[[User:Adso|Adso]] 06:23, 29 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
[[Category:Compiling]]&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3417</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3417"/>
		<updated>2009-08-29T06:24:01Z</updated>

		<summary type="html">&lt;p&gt;Adso: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build from source on MacOSX ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.2) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are vailable using [http://http://www.macports.org/ Macports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers packag]e (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
=== Full list ===&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
***make &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL &#039;&#039;Please check the OpenAL section for MacOSX specific info&#039;&#039;&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.) &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK &#039;&#039;(pre-installed on OSX)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Using Macports ===&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded and configured Macports use these commands to download / compile and install the required dependencies :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo port install cmake&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl-framework&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost-jam&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libdevil&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libogg&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libvorbis&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install python25&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all was successful, you are very close to being able to compile Spring natively!&lt;br /&gt;
&lt;br /&gt;
=== OpenAL ===&lt;br /&gt;
&lt;br /&gt;
After having mountains of problems myself with the OpenAL pre-installed with the Xcode tools, I discoverd that it is version 1.0 of OpenAL (not the correct version we want).&lt;br /&gt;
&lt;br /&gt;
Head to your /System/Library/Framework/ folder and delete any trace of OpenAL framework / folders that are there.&lt;br /&gt;
&lt;br /&gt;
[http://kcat.strangesoft.net/openal-releases/openal-soft-1.8.466.tar.bz2 Now download this copy of OpenAL]&lt;br /&gt;
&lt;br /&gt;
Using the terminal, go into the folder where you downloaded openal-soft and pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;bzip2 -d openal-soft-xxxx.tar.bz2 | tar xvf -&amp;lt;br&amp;gt;&lt;br /&gt;
cd openal-soft-xxxx&amp;lt;br&amp;gt;&lt;br /&gt;
cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All done, now you will have no problems compiling the Sound.cpp file in spring!&lt;br /&gt;
&lt;br /&gt;
== Build And Install ==&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&lt;br /&gt;
=== Using CMake (2.6 or newer) ===&lt;br /&gt;
This is the only way I have compiled spring successfully so far :&lt;br /&gt;
&lt;br /&gt;
(could someone please add a better way? As I cannot workout how to get xcodebuild to run the &amp;quot;install portion of the make file&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install spring in all the right places to be run from a command line (but don&#039;t yet, it compiles an unusable executable, we just needed to get the makefile to install everything to the right place)&lt;br /&gt;
&lt;br /&gt;
Now pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake -G Xcode&amp;lt;br&amp;gt;&lt;br /&gt;
xcodebuild&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will have made a folder called &amp;quot;Debug&amp;quot; and will contain a command line program Spring, and Libunitsync.dylib&lt;br /&gt;
&lt;br /&gt;
now to make sure the correct copy of spring runs when you are using the terminal pass the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo cp spring /usr/local/bin&amp;lt;font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to ready to play Spring on your MacOSX system!&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
== Finalizing installation ==&lt;br /&gt;
&lt;br /&gt;
Will update later once I update the Springlobby wiki with all my OSX information!&lt;br /&gt;
&lt;br /&gt;
If you need to contact me, send a PM to &#039;&#039;&#039;adso&#039;&#039;&#039; on the forums, or catch me in #sy or #springlobby in the lobby chat :)&lt;br /&gt;
&lt;br /&gt;
--[[User:Adso|Adso]] 06:23, 29 August 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3416</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3416"/>
		<updated>2009-08-29T06:23:39Z</updated>

		<summary type="html">&lt;p&gt;Adso: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build from source on MacOSX ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.2) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are vailable using [http://http://www.macports.org/ Macports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers packag]e (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
=== Full list ===&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
***make &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL &#039;&#039;Please check the OpenAL section for MacOSX specific info&#039;&#039;&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.) &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK &#039;&#039;(pre-installed on OSX)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Using Macports ===&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded and configured Macports use these commands to download / compile and install the required dependencies :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo port install cmake&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl-framework&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost-jam&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libdevil&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libogg&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libvorbis&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install python25&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all was successful, you are very close to being able to compile Spring natively!&lt;br /&gt;
&lt;br /&gt;
=== OpenAL ===&lt;br /&gt;
&lt;br /&gt;
After having mountains of problems myself with the OpenAL pre-installed with the Xcode tools, I discoverd that it is version 1.0 of OpenAL (not the correct version we want).&lt;br /&gt;
&lt;br /&gt;
Head to your /System/Library/Framework/ folder and delete any trace of OpenAL framework / folders that are there.&lt;br /&gt;
&lt;br /&gt;
[http://kcat.strangesoft.net/openal-releases/openal-soft-1.8.466.tar.bz2 Now download this copy of OpenAL]&lt;br /&gt;
&lt;br /&gt;
Using the terminal, go into the folder where you downloaded openal-soft and pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;bzip2 -d openal-soft-xxxx.tar.bz2 | tar xvf -&amp;lt;br&amp;gt;&lt;br /&gt;
cd openal-soft-xxxx&amp;lt;br&amp;gt;&lt;br /&gt;
cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All done, now you will have no problems compiling the Sound.cpp file in spring!&lt;br /&gt;
&lt;br /&gt;
== Build And Install ==&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&lt;br /&gt;
=== Using CMake (2.6 or newer) ==&lt;br /&gt;
This is the only way I have compiled spring successfully so far :&lt;br /&gt;
&lt;br /&gt;
(could someone please add a better way? As I cannot workout how to get xcodebuild to run the &amp;quot;install portion of the make file&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install spring in all the right places to be run from a command line (but don&#039;t yet, it compiles an unusable executable, we just needed to get the makefile to install everything to the right place)&lt;br /&gt;
&lt;br /&gt;
Now pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;cmake -G Xcode&amp;lt;br&amp;gt;&lt;br /&gt;
xcodebuild&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will have made a folder called &amp;quot;Debug&amp;quot; and will contain a command line program Spring, and Libunitsync.dylib&lt;br /&gt;
&lt;br /&gt;
now to make sure the correct copy of spring runs when you are using the terminal pass the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo cp spring /usr/local/bin&amp;lt;font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to ready to play Spring on your MacOSX system!&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
== Finalizing installation ==&lt;br /&gt;
&lt;br /&gt;
Will update later once I update the Springlobby wiki with all my OSX information!&lt;br /&gt;
&lt;br /&gt;
If you need to contact me, send a PM to &#039;&#039;&#039;adso&#039;&#039;&#039; on the forums, or catch me in #sy or #springlobby in the lobby chat :)&lt;br /&gt;
&lt;br /&gt;
--[[User:Adso|Adso]] 06:23, 29 August 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3415</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3415"/>
		<updated>2009-08-29T06:11:18Z</updated>

		<summary type="html">&lt;p&gt;Adso: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build from source on MacOSX ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.2) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are vailable using [http://http://www.macports.org/ Macports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers packag]e (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
=== Full list ===&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
***make &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL &#039;&#039;Please check the OpenAL section for MacOSX specific info&#039;&#039;&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.) &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK &#039;&#039;(pre-installed on OSX)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Using Macports ===&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded and configured Macports use these commands to download / compile and install the required dependencies :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;sudo port install cmake&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libsdl-framework&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install boost-jam&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libdevil&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libogg&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install libvorbis&amp;lt;br&amp;gt;&lt;br /&gt;
sudo port install python25&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all was successful, you are very close to being able to compile Spring natively!&lt;br /&gt;
&lt;br /&gt;
=== OpenAL ===&lt;br /&gt;
&lt;br /&gt;
After having mountains of problems myself with the OpenAL pre-installed with the Xcode tools, I discoverd that it is version 1.0 of OpenAL (not the correct version we want).&lt;br /&gt;
&lt;br /&gt;
Head to your /System/Library/Framework/ folder and delete any trace of OpenAL framework / folders that are there.&lt;br /&gt;
&lt;br /&gt;
[http://kcat.strangesoft.net/openal-releases/openal-soft-1.8.466.tar.bz2 Now download this copy of OpenAL]&lt;br /&gt;
&lt;br /&gt;
Using the terminal, go into the folder where you downloaded openal-soft and pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;system&amp;quot;&amp;gt;bzip2 -d openal-soft-xxxx.tar.bz2 | tar xvf -&amp;lt;br&amp;gt;&lt;br /&gt;
cd openal-soft-xxxx&amp;lt;br&amp;gt;&lt;br /&gt;
cmake .&amp;lt;br&amp;gt;&lt;br /&gt;
make&amp;lt;br&amp;gt;&lt;br /&gt;
make install&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All done, now you will have no problems compiling the Sound.cpp file in spring!&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3414</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3414"/>
		<updated>2009-08-29T06:05:45Z</updated>

		<summary type="html">&lt;p&gt;Adso: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build from source on MacOSX ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.2) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are vailable using [http://http://www.macports.org/ Macports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers packag]e (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
=== Full list ===&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
***make &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL &#039;&#039;Please check the OpenAL section for MacOSX specific info&#039;&#039;&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.) &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK &#039;&#039;(pre-installed on OSX)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Using Macports ===&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded and configured Macports use these commands to download / compile and install the required dependencies :&lt;br /&gt;
&lt;br /&gt;
sudo port install cmake&lt;br /&gt;
&lt;br /&gt;
sudo port install libsdl&lt;br /&gt;
&lt;br /&gt;
sudo port install libsdl-framework&lt;br /&gt;
&lt;br /&gt;
sudo port install boost&lt;br /&gt;
&lt;br /&gt;
sudo port install boost-jam&lt;br /&gt;
&lt;br /&gt;
sudo port install libdevil&lt;br /&gt;
&lt;br /&gt;
sudo port install libogg&lt;br /&gt;
&lt;br /&gt;
sudo port install libvorbis&lt;br /&gt;
&lt;br /&gt;
sudo port install python25&lt;br /&gt;
&lt;br /&gt;
If all was successful, you are very close to being able to compile Spring natively!&lt;br /&gt;
&lt;br /&gt;
=== OpenAL ===&lt;br /&gt;
&lt;br /&gt;
After having mountains of problems myself with the OpenAL pre-installed with the Xcode tools, I discoverd that it is version 1.0 of OpenAL (not the correct version we want).&lt;br /&gt;
&lt;br /&gt;
Head to your /System/Library/Framework/ folder and delete any trace of OpenAL framework / folders that are there.&lt;br /&gt;
&lt;br /&gt;
[http://kcat.strangesoft.net/openal-releases/openal-soft-1.8.466.tar.bz2 Now download this copy of OpenAL]&lt;br /&gt;
&lt;br /&gt;
Using the terminal, go into the folder where you downloaded openal-soft and&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3413</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3413"/>
		<updated>2009-08-29T05:49:30Z</updated>

		<summary type="html">&lt;p&gt;Adso: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build from source on MacOSX ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.2) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;br /&gt;
&lt;br /&gt;
== Get Dependencies ==&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are vailable using [http://http://www.macports.org/ Darwinports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers packag]e (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
=== Full list ===&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;comes with Xcode&#039;&#039;&lt;br /&gt;
***make &#039;&#039;comes with Xcode&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL (openal-soft, older openal-0.0.8 does not work)&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.)&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3412</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3412"/>
		<updated>2009-08-29T05:36:39Z</updated>

		<summary type="html">&lt;p&gt;Adso: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build from source on MacOSX (I&#039;m running 10.5.6 on an Intel based system) ==&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Source ===&lt;br /&gt;
&lt;br /&gt;
==== Current (0.80.2) ====&lt;br /&gt;
&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.gz Source .tar.gz]&lt;br /&gt;
&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;br /&gt;
&lt;br /&gt;
==== Development Sources from Git ====&lt;br /&gt;
&lt;br /&gt;
I will update this later, as the main intention of this guide, is for Mac OSX users to be able to play online with their Linux / PC counterparts!&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3411</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3411"/>
		<updated>2009-08-29T05:26:46Z</updated>

		<summary type="html">&lt;p&gt;Adso: New page:  == Build from source on MacOSX (I&amp;#039;m running 10.5.6 on an Intel based system) ==  I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring i...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Build from source on MacOSX (I&#039;m running 10.5.6 on an Intel based system) ==&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Obtaining the Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Current (0.80.2)&#039;&#039;&#039;&lt;br /&gt;
(For playing Spring online)&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.lzma Source .tar.lzma (aka 7z)]&lt;br /&gt;
[http://spring.clan-sy.com/dl/spring_0.80.2_src.tar.gz Source .tar.gz]&lt;br /&gt;
This code is the same as that used to build the last public release. If you want to play online on the main server, use this or desyncs will occur.&lt;/div&gt;</summary>
		<author><name>Adso</name></author>
	</entry>
</feed>