]> git.saurik.com Git - wxWidgets.git/blob - BuildCVS.txt
Corrected link error for missing wxRegTipProvider::GetTip by giving it
[wxWidgets.git] / BuildCVS.txt
1 ------------------------------------------------------------------------
2 How to build the sources from CVS
3 ------------------------------------------------------------------------
4
5 I) Windows using plain makefiles
6 ----------------------------------------
7
8 No idea, never did it.
9
10
11 II) Unix using plain makefiles.
12 ----------------------------------------
13
14 Set WXWIN environment variable to the base directory such
15 as ~/wxWindows
16
17 -> type: export WXWIN=~/wxWindows
18
19 Edit ~/wxWindows/src/make.env as you wish.
20 -> type: cd ~/wxWindows/src/gtk
21 -> type: cp ./setup0.h setup.h
22 -> type: make -f makefile.unx gtk
23 -> pray
24
25 III) Windows using configure
26 ----------------------------------------
27
28 No idea..
29
30
31 IV) Unix using configure
32 ----------------------------------------
33
34 a) You have all the newest and greatest GNU tools installed on your system
35 and in the same directory hierachy (e.g. either all tools in /usr or all
36 in /usr/local), these tools are:
37 - GNU libtool 1.2e (1.3 doesn't work here)
38 - GNU autoconf 2.13 (including autoheader 2.13)
39 - GNU automake 1.4 (including aclocal 1.4)
40 and possibly but not forcibly
41 - GNU make 3.76.1
42 - GNU C++ (EGCS)
43
44 -> Go to the base directory
45 -> type: ./autogen.sh
46
47 b) You don't know what autos are and have no driver's licence anyway:
48
49 -> Go to the testconf directory
50 -> type: ./apply
51
52 a+b) Then proceed in either case with:
53
54 -> Choose a directory name that seems fit for building wxWindows, e.g. mybuild
55 -> Go the base directory
56 -> type: mkdir mybuild
57 -> type: cd mybuild
58 -> type: ../configure --with-gtk
59 or type: ../configure --with-motif
60 or type: ../configure --with-wine
61 -> type make
62 -> drink lots of coffee and go shopping
63
64
65 V) MacOS
66 ----------------------------------------
67
68 V) OS/2
69 ----------------------------------------
70