]> icculus.org git repositories - divverent/netradiant.git/blob - COMPILING
minor fix for plane snapping
[divverent/netradiant.git] / COMPILING
1
2 developer documentation for GtkRadiant 1.5.0-div0
3 =================================================
4
5 (NOTE: outdated stuff has been ROT13ed)
6
7 getting the source
8 ==================
9
10 The latest source is available from the Subversion repository.
11   https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/
12
13 The subversion client can be obtained from the Subversion site.
14   http://subversion.tigris.org
15
16 To get a copy of the source using the commandline Subversion client:
17   Change the current directory to the desired location for the source.
18   svn checkout http://svn.icculus.org/netradiant/trunk/ NetRadiant
19   cd NetRadiant
20   sh download-gamepacks.sh
21
22
23
24 Linux(using X-windows)
25 ======================
26
27 environment:
28 - gcc >= version 3.1 (preferably)
29 - GNU make
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
39 build:
40 run 'make'
41
42 run:
43 Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
44
45 OSX(using X-windows)
46 ====================
47
48 environment:
49 - OS X 10.5 or 10.6
50 - Xcode developer tools installed (OSX DVD)
51 - X11 (from the OS X DVD)
52 - MacPorts or fink installed
53 - the following packages installed:
54   Macports:
55     gtkglext pkgconfig glib2-devel libxml2 gtk2 pango atk gettext wget
56   Fink:
57     gtkglext1 pkgconfig glib2-dev libxml2 gtk+2 gtk+2-dev pango1-xft2-ft219-dev atk1 gettext-dev wget
58
59 build:
60 run 'make'
61
62 run:
63 Switch into the install folder, and run NetRadiant.app
64
65 Win32 (2000, XP, Vista or Windows 7)
66 ==================
67
68 environment:
69 - MinGW
70   http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite (the installer link)
71   Install this to c:\mingw, and select the components C compiler, C++ compiler, Make
72 - MSYS
73   http://www.mingw.org/wiki/msys (you need the installer MSYS-versionnumber.exe)
74   Install this to c:\msys\1.0
75 - Prepackaged Radiant dependencies (Gtk and other stuff):
76   http://www.icculus.org/netradiant/files/radiant-deps-mingw32.zip
77   Preferably extract this one to c:\mingw\radiant-deps-mingw32
78 - Subversion must be installed and available in PATH to download the game packs
79
80 build:
81 - Start the MSYS shell (to be found in c:\msys\1.0\msys.bat)
82 - Switch to the directory with NetRadiant source
83 - cp mingw-Makefile.conf Makefile.conf
84 - (edit mingw-Makefile.conf in case you installed anything to other locations
85   than the recommended ones)
86 - make
87
88 run:
89 - in the "install" directory, double click netradiant.exe