<?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=Danneskjold</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=Danneskjold"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/Danneskjold"/>
	<updated>2026-11-08T22:29:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17641</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17641"/>
		<updated>2010-04-18T04:23:05Z</updated>

		<summary type="html">&lt;p&gt;Danneskjold: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Because all needed libraries are available for OSX as well, you can compile a working version of Spring for Mac. But Unitsync will only work between Intel Macs and PCs, but not between those and PPC, and due to Apple&#039;s switch from PPC to Intel and due to the astronomical amount of effort it would take to to make them sync, there is no PPC port under development.&lt;br /&gt;
&lt;br /&gt;
There&#039;s also a working lobby client for Mac OSX, follow the instruction below to compile it.&lt;br /&gt;
&lt;br /&gt;
=Install Spring from source on an Intel Mac=&lt;br /&gt;
The following guide was created and tested in a 2,53 Ghz 13&amp;quot; MacBook Pro, 4 GB RAM Nvidia GeForce 9400M and a MacPro Xenon Quadcore ATI Radeon HD 4870, both with Snow Leopard (10.6).&lt;br /&gt;
&lt;br /&gt;
==Dependencies:==&lt;br /&gt;
You will need the following dependencies to compile:&lt;br /&gt;
 Programs necessary to build&lt;br /&gt;
    * Xcode Tools&lt;br /&gt;
    * cmake (included in Xcode tools)&lt;br /&gt;
    * zip&lt;br /&gt;
    * p7zip&lt;br /&gt;
&lt;br /&gt;
 Libraries&lt;br /&gt;
    * SDL&lt;br /&gt;
    * boost (version 1.35 or later recommended)&lt;br /&gt;
    * DeviL (IL, ILU)&lt;br /&gt;
    * OpenAL (comes with Xcode tools)&lt;br /&gt;
    * OpenGL headers (mesa, glew, etc.) (comes with Xcode tools)&lt;br /&gt;
    * zlib&lt;br /&gt;
    * freetype&lt;br /&gt;
    * ogg,vorbis and vorbisfile &lt;br /&gt;
    * Python (2.5) &lt;br /&gt;
    * glew&lt;br /&gt;
&lt;br /&gt;
==Installing the Dependencies==&lt;br /&gt;
&lt;br /&gt;
Firstly, download the Xcode Development Tools from Apple or install them from your OSX DVD: http://developer.apple.com/technology/xcode.html (you will need to register, but its free of charge)&lt;br /&gt;
&lt;br /&gt;
Then download and install Macports (http://www.macports.org)&lt;br /&gt;
You need to be administrator to complete the following.&lt;br /&gt;
Open the Terminal and copy and paste the first command and wait until it is completed, continue one-by-one with the others (you may be asked for the admin password each time).&lt;br /&gt;
&lt;br /&gt;
 sudo port install cmake&lt;br /&gt;
 sudo port install libsdl&lt;br /&gt;
 sudo port install libsdl-framework&lt;br /&gt;
 sudo port install boost&lt;br /&gt;
 sudo port install glew&lt;br /&gt;
 sudo port install boost-jam&lt;br /&gt;
 sudo port install libpng&lt;br /&gt;
 sudo port install jpeg&lt;br /&gt;
 sudo port install tiff&lt;br /&gt;
 sudo port install libogg&lt;br /&gt;
 sudo port install libvorbis&lt;br /&gt;
 sudo port install python25&lt;br /&gt;
 sudo port install libdevil&lt;br /&gt;
 sudo port install p7zip&lt;br /&gt;
&lt;br /&gt;
This will take some time and disk space, but should complete without problems. If you experience any errors, download the dependencies&#039; source and compile it.&lt;br /&gt;
&lt;br /&gt;
==Fixes==&lt;br /&gt;
Download the latest spring source from the download page.&lt;br /&gt;
If you try to compile now, you will experience some errors, and therefore you will have to apply theseÂ patchÂ files:&lt;br /&gt;
&lt;br /&gt;
https://trac.macports.org/attachment/ticket/23556/patch-file-extension.diff&lt;br /&gt;
https://trac.macports.org/attachment/ticket/23556/platform-misc-cpp.diff&lt;br /&gt;
&lt;br /&gt;
cdÂ intoÂ theÂ sourceÂ directoryÂ andÂ execute&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;patchÂ -pÂ 0Â &amp;lt;Â patch-file-extension.diff&lt;br /&gt;
&lt;br /&gt;
patchÂ -pÂ 0Â &amp;lt;Â platform-misc-cpp.diff&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Compiling:==&lt;br /&gt;
Open the Terminal, change into the Spring source folder (e.g.: &amp;quot;cd Desktop/spring_0_80_5_2/&amp;quot;) and follow the instructions below:&lt;br /&gt;
(You will be asked for the admin password)&lt;br /&gt;
&lt;br /&gt;
 type &amp;quot;cmake .&amp;quot; (the dot and the gap is important)&lt;br /&gt;
 type &amp;quot;make&amp;quot; (this will take some time)&lt;br /&gt;
 type &amp;quot;sudo make install&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the above commands have finished, check &amp;quot;/usr/local/share/games/spring/AI/Interfaces/C/0.1/&amp;quot; to see if the files there end with &#039;.so&#039; or &#039;.dylib&#039;. If they are named .so you will get an error message when using AI bots. Run this command to rename all .so files to .dylib:&lt;br /&gt;
&lt;br /&gt;
 for X in `find /usr/local/share/games/spring/ -name &amp;quot;*.so&amp;quot;`; do sudo mv $X ${X/.so/.dylib}; done;&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
Now, you have a a Unix Executable File called &amp;quot;spring&amp;quot; in your source directory and a &amp;quot;spring&amp;quot; directory in &amp;quot;usr/local/share/games/&amp;quot; (you need to make hidden folders visible to see it).&lt;br /&gt;
Create a folder called &amp;quot;maps&amp;quot; and a folder called &amp;quot;mods&amp;quot; there. (This is where Spring will check for maps/mods).&lt;br /&gt;
You can double click on the spring file (mod+map needed) and test if everything is alright.&lt;br /&gt;
&lt;br /&gt;
=Compiling the Lobby=&lt;br /&gt;
You will need to get a lobby client (e.g.: SpringLobby: http://springlobby.info) and the dependencies to compile it from source following this guide: http://springlobby.info/projects/springlobby/wiki/InstallFromSource&lt;br /&gt;
This Chapter will be extended soon. &lt;br /&gt;
&lt;br /&gt;
--[[User:Grapefruit|Grapefruit]] 11:08, 4 December 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=Scripting the MacPorts dependencies=&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Notwithstanding what appears above, not each command need be executed separately. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Make a file (perhaps do_install.sh). Put it on your desktop. Cut and paste all the commands into it. Go into the terminal, and change to the Desktop directory. Execute:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;chmod +x do_install.sh&amp;lt;br&amp;gt;&lt;br /&gt;
sudo ./do_install.sh&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
It takes quite a long time to do it any other way. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Category: Mac]]&lt;/div&gt;</summary>
		<author><name>Danneskjold</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Talk:Spring_on_MacOSX&amp;diff=20341</id>
		<title>Talk:Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Talk:Spring_on_MacOSX&amp;diff=20341"/>
		<updated>2010-04-18T04:19:13Z</updated>

		<summary type="html">&lt;p&gt;Danneskjold: /* Re: installing MacPorts dependencies. */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hey, would there be a way to randomly select a map from a list to use as the select &#039;&#039;one&#039;&#039; link?--[[User:Elio|elio]] 23:05, 7 Feb 2007 (W. Europe Standard Time)&lt;br /&gt;
&lt;br /&gt;
== Re: installing MacPorts dependencies. ==&lt;br /&gt;
&lt;br /&gt;
Hey, make life easy on people.  You don&#039;t have to execute every command individually.&lt;br /&gt;
&lt;br /&gt;
Make a file (I called mine do_install.sh).  Put it on your desktop.  Cut and paste all the commands into it.  Go into the terminal, and change to the Desktop directory.  Execute:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;chmod +x do_install.sh&amp;lt;br&amp;gt;&lt;br /&gt;
sudo ./do_install.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Seriously, it takes a long time to do it any other way.&lt;/div&gt;</summary>
		<author><name>Danneskjold</name></author>
	</entry>
</feed>