-
Notifications
You must be signed in to change notification settings - Fork 1
/
README_BUILD_FIRESTORM_MACOSX.txt
executable file
·64 lines (45 loc) · 2.73 KB
/
README_BUILD_FIRESTORM_MACOSX.txt
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
Make sure Xcode is installed, it's a (sometimes) free download from Apple.
Make sure cmake is installed, use at least a 2.8.x version.
If you are using OSX 10.5 or 10.6, Xcode 3 will be used. Output will work on
all 10.5 systems and higher.
If you are using OSX 10.7 (ie, Lion), the build will use Xcode 4 and your
output will only work on OSX 10.6 and higher unless you install the OS X
10.5 SDK. You can copy that from an Xcode 3 installation; you need the
directory /Developer/SDKs/MacOSX10.5.sdk and its contents. If you do this,
then the output will work on 10.5.
Ensure you can build a stock viewer-development tree as described in the SL
wiki. Before asking for any help compiling Firestorm, make sure you can
build viewer-development first. If you try and skip this step, you may
receive much less help.
http://wiki.secondlife.com/wiki/Compiling_the_viewer_(Mac_OS_X)
If you want to use licensed FMOD or KDU build libraries (they are optional)
you have to provision these yourself. If you're licensing these with
Phoenix/Firestorm, ask for the libraries for fmod and kdu. Put them into:
/opt/firestorm
If you're a community builder, you'll need to build these libraries
yourself, then change your autobuild.xml file to point to your own versions,
or create a different autobuild.xml with your customizations, and use this
with autobuild instead of our default autobuild.xml There are some examples
of how to build FMOD on the LL Wiki and opensource-dev mailing list. We've
created a non-KDU build target to make this easier. Everywhere you see
"ReleaseFS" below, use "ReleaseFS_open" instead. This will perform the same
build, using openjpeg instead of KDU.
Available premade firestorm-specific build targets:
ReleaseFS (includes KDU, FMOD)
ReleaseFS_open (no KDU, no FMOD)
RelWithDebInfo_open (no KDU, no FMOD)
To build firestorm:
autobuild build -c ReleaseFS
Other examples:
autobuild configure -c ReleaseFS # basic configuration step, don't build, just configure
autobuild configure -c ReleaseFS -- --clean # clean the output area first, then configure
autobuild configure -c ReleaseFS -- --chan Private-Yourname # configure with a custom channel
autobuild build -c ReleaseFS --no-configure # default quick rebuild
autobuild build -c ReleaseFS --no-configure -- --clean # Clean rebuild
Any of the configure options can also be used (and do the same thing) with
the build options. Typical LL autobuild configure options should also work,
as long as they don't duplicate configuration we are already doing.
Logs:
Look for logs in build-darwin-i386/logs
Output:
Look for output in build-darwin-i386/newview/Release