]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - COMPILING
mention that the C++ compiler is needed
[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://emptyset.endoftheinternet.org/svn/radiant15/trunk/ ./GtkRadiant
18   svn checkout -r29 https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack
19   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/branches/1.5/ ./GtkRadiant/games/UFOAIPack
20   For other game packs, see https://zerowing.idsoftware.com/svn/radiant.gamepacks/
21   Note that they must be in GtkRadiant 1.5's format (like the ones in a branches/1.5 subfolder)!
22
23
24
25 Linux(using X-windows)
26 ======================
27
28 environment:
29 - gcc >= version 3.1 (preferably)
30 - GNU make
31 - svn >= 1.1 (some build steps use svn)
32
33 dependencies:
34 - gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
35 - gtkglext >= 1.0.0 (requires opengl)
36 - libxml2 >= 2.0.0
37 - zlib >= 1.2.0 (for archivezip module)
38 - libpng >= 1.2.0 (for imagepng module)
39
40 build:
41 run 'make'
42
43 run:
44 Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
45
46 OSX(using X-windows)
47 ====================
48
49 environment:
50 - OS X 10.5
51 - Xcode developer tools installed
52 - X11 (from the OS X DVD)
53 - fink installed
54 - the following fink packages installed:
55   gtkglext1 pkgconfig glib2-dev libxml2 gtk+2-dev pango1-xft2-dev atk-dev atk1 gettext-dev
56
57 build:
58 run 'make'
59
60 run:
61 Switch into the install folder, and run NetRadiant.app
62
63 Win32 (2000, XP, Vista or Windows 7)
64 ==================
65
66 environment:
67 - MinGW
68   http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite (the installer link)
69   Install this to c:\mingw, and select the components C compiler, C++ compiler, Make
70 - MSYS
71   http://www.mingw.org/wiki/msys (you need the installer MSYS-versionnumber.exe)
72   Install this to c:\msys\1.0
73 - Prepackaged Radiant dependencies (Gtk and other stuff):
74   http://www.icculus.org/netradiant/files/radiant-deps-mingw32.zip
75   Preferably extract this one to c:\mingw\radiant-deps-mingw32
76
77 build:
78 - Start the MSYS shell (to be found in c:\msys\1.0\msys.bat)
79 - Switch to the directory with NetRadiant source
80 - cp mingw-Makefile.conf Makefile.conf
81 - (edit mingw-Makefile.conf in case you installed anything to other locations
82   than the recommended ones)
83 - make
84
85 run:
86 - in the "install" directory, double click netradiant.exe