MacOSXInstall

Installing on Mac OS X

Download one of the DMG files from the Files 2.2.2
Enjoy!


Building from sources

Using MacPorts (unofficial WIP)

This is complicated and mainly here for developers who want to help with porting Speed-Dreams to OS X

What you will need:

  • xcode
  • xcode command-line tools
  • Macports
  • CMake

Install xcode from the app store
From a terminal:

xcode-select --install

If you haven't used it before, run xcode at least once. It might prompt you to agree to an Apple user agreement.
Install MacPorts from https://www.macports.org/install.php

If you would like a GUI:
Install the latest CMake from http://www.cmake.org/download/
OR
install cmake from macports.

From a terminal:

sudo port selfupdate
sudo port -t install python27
sudo port -t install cmake (optional) see above
sudo port -t install libsdl
sudo port -t install libsdl2
sudo port -t install openal-soft
sudo port -t install plib
sudo port -t install libenet
sudo port -t install libogg
sudo port -t install libvorbis
sudo port -t install expat
sudo port -t install zlib
sudo port -t install libpng
sudo port -t install jpeg
sudo port -t install freeSOLID
sudo port -t install freetype
sudo port -t install curl
sudo port -t install OpenSceneGraph
sudo port -t install subversion
sudo port selfupdate
port upgrade outdated

Get the speed-dreams source code from: https://sourceforge.net/p/speed-dreams/code/HEAD/tree/

Now, we are set up to build Speed-Dreams-2

From the terminal

Navigate to the source code.
Make a directory for the build.

mkdir build
cd build
cmake -G"Unix Makefiles" -D CMAKE_INSTALL_PREFIX=speed-dreams-2.app -D OPTION_OFFICIAL_ONLY=true ..
make install

From the GUI

Run the CMake application.
In the Where is the source code box:
Enter (or navigate to) the directory where you checked out the speed-dreams source code.
In the Where to build the binaries box:
Enter the same thing plus one more directory (see below). This will create an "out-of-source" build.

Note: the step below is only neccesary if you do not have MacPorts installed in the default location.
Click on the Add Entry button.
Edit the values to match the screen capture. This will cause the build to look for the dependencies in /opt/local which is the default location for MacPorts. Adjust accordingly if you installed MacPorts elsewhere.
Add Entry

Click the Configure button.
You may get a pop-up asking if you want CMake to create the directory. You do.
You should get a pop-up asking you to "Specify the generator for this project".
Choose Unix Makefiles.
Choose generator
You will get some output and finally a number of red entries.
Click the Configure button again.
Most if not all the entries will NOT be red. (You may have to Configure twice).
Click the Generate button.
When that is done, we are ready to build.
From a terminal:
Navigate to the directory that you entered into the Where to build the binaries box.
Type make <return>
When 'make' finishes, you should be able to run speed-dreams-2.
With 'Finder' navigate to <Where to build the binaries>/games
Double-click on speed-dreams-2.
Race!</return>


Related

Wiki: Home
Wiki: Index

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.