]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - COMPILING
5fcf59d64f15584d4c937e6a12e4242206da7396
[xonotic/netradiant.git] / COMPILING
1 developer documentation for GtkRadiant 1.5.0
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   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack
17
18
19
20 Linux/OSX(using X-windows)
21 ==========================
22
23 environment:
24 - gcc3 (preferably)
25 - scons = 0.96 (radiant is built with scons rather than make)
26 - python >= 2.3.0 (scons requires python, some build steps use python)
27
28 dependencies:
29 - gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
30 - gtkglext >= 1.0.0 (requires opengl)
31 - libxml2 >= 2.0.0
32 - zlib >= 1.2.0 (for archivezip module)
33 - libpng >= 1.2.0 (for imagepng module)
34 - libmhash = 0.9.0 (for q3map2)
35
36 build:
37 Execute 'scons SETUP=0' in the directory containing SConscript
38
39 install:
40 run './GtkRadiant/install.py'
41 note - this script should be run after each time you update from svn
42
43 run:
44 Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
45
46
47
48 Win32 (2000 or XP)
49 ==================
50
51 environment:
52 - visual studio .net 2003
53 - microsoft c++ compiler 7.1 (comes with vs.net 2003)
54 - python 2.3.0 or later
55
56 dependencies are prepackaged archives, extract them to the directory above GtkRadiant.sln:
57 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/gtk2-2.4.14.zip (gtk-wimp, gtkglext, gtk, glib, atk, pango, iconv etc)
58 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/libxml2-2.6.2.zip
59 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/STLport-4.6.2.zip
60 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/zlib1-1.2.1.zip (for archivezip module)
61 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/libpng-1.2.5.zip (for imagepng module)
62 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/mhash-0.9.1.zip (for q3map2)
63
64 build:
65 Open GtkRadiant.sln.
66 In tools > options > projects > VC++ Directories > executables, add the path to python.exe (e.g. c:\python23\)
67 Hit 'Build > Build Solution' (F7)
68
69 install:
70 run './GtkRadiant/install.py'
71 note - this script should be run after each time you update from svn
72
73 run:
74 set Project > Properties > Debugging > Command to "$(SolutionDir)install/$(TargetFileName)"
75 hit 'Debug > Start' (F5)