]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - COMPILING
* fixed missing string for error output
[xonotic/netradiant.git] / COMPILING
1 developer documentation for GtkRadiant 1.6.0 (Zeroradiant)
2 ==========================================================
3
4 getting the source
5 ==================
6
7 The latest source is available from the Subversion repository.
8   https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/
9
10 The subversion client can be obtained from the Subversion site.
11   http://subversion.tigris.org
12
13 To get a copy of the source using the commandline Subversion client:
14   Change the current directory to the desired location for the source.
15   svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ ./GtkRadiant
16
17 Download the desired game packs:
18   cd ./GtkRadiant/install/installs
19   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./Q3Pack
20   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/trunk/ ./UFOAIPack
21   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/TremulousPack/trunk/ ./TremulousPack
22
23 Linux/OSX(using X-windows)
24 ==========================
25
26 environment:
27 - gcc >= version 3.1 (preferably)
28 - scons >= 0.96 (radiant is built with scons rather than make)
29 - python >= 2.3.0, (scons requires python, some build steps use python)
30 - svn >= 1.1 (some build steps use svn)
31
32 dependencies:
33 - gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
34 - gtkglext >= 1.0.0 (requires opengl)
35 - libxml2 >= 2.0.0
36 - zlib >= 1.2.0 (for archivezip module)
37 - libpng >= 1.2.0 (for imagepng module)
38 - libmhash = 0.9.0 (for q3map2)
39
40 build:
41 Execute 'scons' in the directory containing SConscript
42
43 install:
44 run 'python ./GtkRadiant/install.py'
45 note - this script should be run after each time you update from svn
46
47 run:
48 Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
49
50
51 Win32 (2000, XP or Vista)
52 ==================
53
54 environment:
55 - visual studio 2005
56 - python 2.3.0 or later (some build steps use python)
57 - subversion 1.1 or later (some build steps use svn)
58
59 dependencies are prepackaged archives, extract them to the directory above GtkRadiant.sln:
60 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/gtkradiant-1.5-dependencies-1.0.zip
61
62 build:
63 Open GtkRadiant.sln.
64 In tools > options > projects > VC++ Directories > executables, add the paths to python.exe (e.g. c:\python23\) and svn.exe (e.g. c:\svn\)
65 Hit 'Build > Build Solution' (F7)
66
67 install:
68 run 'python ./GtkRadiant/install.py'
69 note - this script should be run after each time you update from svn
70
71 run:
72 set Project > Properties > Debugging > Command to "$(SolutionDir)install/$(TargetFileName)"
73 hit 'Debug > Start' (F5)