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