From 71ebf36c3f787f224f6c4fb13bd97e1a86cde592 Mon Sep 17 00:00:00 2001 From: beaglejoe Date: Thu, 3 Nov 2022 15:25:21 +0000 Subject: [PATCH] Updated the Mac section git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8621 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 7928b46aa6ea91a97fead8830b28fccd138c5231 Former-commit-id: 3bf47eb5d4fa5d865ad41f1edc72c786b1cc87c6 --- INSTALL.txt | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 17f840582..3824165b1 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -30,9 +30,10 @@ I - Pre-requisites - Working OpenGL Driver and header files / associated libraries - CMake https://cmake.org/download/ +- Java development kit (for sd2-trackeditor) -- SDL 2.0.x http://www.libsdl.org/ +- SDL 2.x.x http://www.libsdl.org/ - PLIB 1.8.5 http://plib.sourceforge.net/ Linux: Be careful to compile plib with -fPIC on AMD64 if you run a 64 bit version. - OpenAL soft 1.18 https://www.openal-soft.org/openal-releases/ @@ -42,13 +43,13 @@ I - Pre-requisites Linux: Be careful to compile ENet with -fPIC on AMD64 if you run a 64 bit build. - Expat 2 https://github.com/libexpat/libexpat/releases - libpng https://sourceforge.net/projects/libpng/files/ -- zlib https://sourceforge.net/projects/libpng/files/zlib/ +- zlib https://sourceforge.net/projects/libpng/files/zlib/ OR https://github.com/madler/zlib/releases - libjpeg https://ijg.org/files - cURL 7.x https://curl.se/download/ OR https://github.com/curl/curl/releases -- OpenSceneGraph https://github.com/openscenegraph/OpenSceneGraph/ +- OpenSceneGraph https://github.com/openscenegraph/OpenSceneGraph/tags - FreeSOLID 2.1.2 http://sourceforge.net/projects/freesolid -- FreeType 2 http://sourceforge.net/projects/freetype -- SDL2_mixer 2.0.4 https://www.libsdl.org/projects/SDL_mixer +- FreeType 2 https://sourceforge.net/projects/freetype/files/ +- SDL2_mixer 2.x.x https://github.com/libsdl-org/SDL_mixer/releases WARNING: Under Windows, be careful to compile everything for multi-threaded DLL integration (/MD[d]) @@ -757,11 +758,14 @@ V - MacOS X installation from sources d. install CMake (http://www.cmake.org/download/) OR from Macports e. install the dependencies (via Macports) + sudo port -t install subversion + sudo port -t install cmake sudo port -t install python27 - sudo port -t install libsdl sudo port -t install libsdl2 + sudo port -t install libsdl2_mixer sudo port -t install openal-soft sudo port -t install plib + sudo port -t install FreeSOLID sudo port -t install libenet sudo port -t install libogg sudo port -t install libvorbis @@ -772,26 +776,15 @@ V - MacOS X installation from sources sudo port -t install jasper sudo port -t install freetype sudo port -t install curl - sudo port -t install subversion - sudo port -t install cmake + sudo port -t install OpenSceneGraph + sudo port -t install openjdk8 - f. As of Dec 2015, the OpenSceneGraph port is broken, so it needs to be - built from sources: - 1. Download the source (http://trac.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-3.4.0.zip) - 2. Unpack the source somewhere (eg /home/source/OpenSceneGraph-3.4.0) - 3. From a Terminal: - a) cd /home/source/OpenSceneGraph-3.4.0 - b) mkdir build - c) cd build - d) cmake -G"Unix Makefiles" -D CMAKE_INSTALL_PREFIX=/opt/local -D CMAKE_PREFIX_PATH=/opt/local .. - Note: if you installed Macports to a non-standard location, adjust the CMAKE options accordingly. - e) sudo make install (this can take a long time). - g. Download or checkout the Speed-Dreams sources from + f. Download or checkout the Speed-Dreams sources from (https://sourceforge.net/p/speed-dreams/code/HEAD/tree/) - h. Unpack the source somewhere (eg /home/source/speed-dreams) - i. From a Terminal: + g. Unpack the source somewhere (eg /home/source/speed-dreams) + h. From a Terminal: 1) cd /home/source/speed-dreams 2) mkdir build 3) cd build