-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadMe.rtf
93 lines (85 loc) · 5.32 KB
/
ReadMe.rtf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf600
\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;\csgray\c100000;}
\paperw11900\paperh16840\margl1440\margr1440\vieww21420\viewh14500\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\f0\fs24 \cf0 A Xcode project that builds {\field{\*\fldinst{HYPERLINK "http://vdrift.net"}}{\fldrslt VDrift}}\'92s required dependancies as native macOS frameworks. For instructions about VDrift itself visit the {\field{\*\fldinst{HYPERLINK "http://wiki.vdrift.net"}}{\fldrslt wiki}}. Released under the {\field{\*\fldinst{HYPERLINK "http://www.gnu.org/copyleft/gpl.html"}}{\fldrslt GNU General Public License (GPL) v3}}.\
If you know a better way of doing any part of this, or find a bug, please make an issue or send a pull request on {\field{\*\fldinst{HYPERLINK "http://github.com/Timo6/vdrift-frameworks"}}{\fldrslt GitHub}}.\
\
\pard\pardeftab720\partightenfactor0
\b\fs36 \cf0 Prerequisites
\fs24 \
\b0 To build these frameworks you need Xcode 3.2 or later (tested only with Xcode 8.1). Xcode is available for free from {\field{\*\fldinst{HYPERLINK "http://itunes.apple.com/us/app/xcode/id422352214?mt=12&ls=1"}}{\fldrslt Apple}}.\
\
\b\fs36 Downloads
\b0 \
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\fs24 \cf0 Once you have the prerequisites, download the latest stable release from the following sites. You don't need all of them, but some require one or more of the others. Make sure you download the source releases, not the packaged or binary versions.\
\
Bullet: {\field{\*\fldinst{HYPERLINK "http://bulletphysics.org/wordpress/"}}{\fldrslt http://bulletphysics.org/}}\
cURL: {\field{\*\fldinst{HYPERLINK "http://curl.haxx.se"}}{\fldrslt http://curl.haxx.se}}{\field{\*\fldinst{HYPERLINK "http://code.google.com/p/bullet/downloads/list"}}{\fldrslt \
}}Ogg: {\field{\*\fldinst{HYPERLINK "http://xiph.org/downloads/"}}{\fldrslt http://xiph.org/downloads/}}\
SDL2: {\field{\*\fldinst{HYPERLINK "http://libsdl.org/index.php"}}{\fldrslt http://libsdl.org/index.php}}\
SDL2_image (
\b Requires SDL2 and WebP
\b0 ): {\field{\*\fldinst{HYPERLINK "http://libsdl.org/projects/SDL_image/"}}{\fldrslt http://libsdl.org/projects/SDL_image/}}\
Vorbis (
\b Requires Ogg
\b0 ): {\field{\*\fldinst{HYPERLINK "http://xiph.org/downloads/"}}{\fldrslt http://xiph.org/downloads/}}\
WebP: {\field{\*\fldinst{HYPERLINK "https://developers.google.com/speed/webp/"}}{\fldrslt https://developers.google.com/speed/webp/}}\
\
Next expand the downloaded file into the relevant folder, removing the version number from the resultant folder, for example expand
\i libogg-1.3.0.tar.gz
\i0 into
\i vdrift-frameworks/Ogg/libogg/
\i0 \
\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\b\fs36 \cf0 Updating
\b0\fs24 \
Update the version in
\i vdrift-frameworks/
\b FRAMEWORK_NAME
\b0 /
\b FRAMEWORK_NAME
\b0 -Info.plist
\i0 and the
\i Compatibility Version
\i0 ,
\i Current Library Version
\i0 and
\i Framework Version
\i0 in the appropriate build settings in Xcode according to {\field{\*\fldinst{HYPERLINK "http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Concepts/VersionInformation.html"}}{\fldrslt Apple's documentation}}.\
\
\b\fs36 Building
\b0\fs24 \
You can now open
\i vdrift-frameworks/vdrift-frameworks.xcodeproj
\i0 and build some or all of the frameworks - use the drop down on the toolbar to select the required scheme. They will be put into your build directory from which you can copy them into
\i vdrift/vdrift-mac/Frameworks/
\i0 .\
\
\b\fs36 No longer supported
\b0\fs24 \
VDrift no longer depends on these libraries, so this project is no longer updated for new versions. The targets have been left in case they are useful for someone, but they may break at anytime.\
\
Archive: {\field{\*\fldinst{HYPERLINK "http://libarchive.org"}}{\fldrslt http://libarchive.org}}\
GLEW: {\field{\*\fldinst{HYPERLINK "http://glew.sourceforge.net/"}}{\fldrslt http://glew.sourceforge.net/}}\
SDL: {\field{\*\fldinst{HYPERLINK "http://libsdl.org/download-1.2.php"}}{\fldrslt http://libsdl.org/download-1.2.php}}\
SDL_gfx (
\b Requires SDL
\b0 ): {\field{\*\fldinst{HYPERLINK "http://ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx"}}{\fldrslt http://ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx\
}}\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\cf0 SDL_image (
\b Requires SDL
\b0 ): {\field{\*\fldinst{HYPERLINK "http://libsdl.org/projects/SDL_image/release-1.2.html"}}{\fldrslt http://libsdl.org/projects/SDL_image/release-1.2.html}}\
SDL_net (
\b Requires SDL
\b0 ): {\field{\*\fldinst{HYPERLINK "http://libsdl.org/projects/SDL_net/release-1.2.html"}}{\fldrslt http://libsdl.org/projects/SDL_net/release-1.2.html}}\
SDL2_gfx (
\b Reqires SDL2
\b0 ): {\field{\*\fldinst{HYPERLINK "http://ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx"}}{\fldrslt http://ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx}}\
\
vdrift-frameworks.xcodeproj was created by Timothy Furlong.\
}