Revision 1339 trunk/QuickStartWindows.txt

QuickStartWindows.txt (revision 1339)
1
ADMB Project  
2
============
1
#ADMB Project 
3 2
*ADMB-11.1*  
4 3
*Released May 10, 2013*  
5 4

  
6
Describes Quick Start installation procedure for Windows.
5
Describe ADMB build and installation procedures for Windows and MinGW.
7 6

  
8 7
---
9 8

  
10
For Windows computers with Visual C++ compiler already installed, read
11
the [QuickStart for Visual C++](QuickStartVisualC++.html).
9
_For Windows computers with Visual C++ compiler already installed, read
10
the [QuickStart for Visual C++](QuickStartVisualC++.html)._
12 11

  
12
Prerequisites
13
-------------
14
  
15
The following programs should be installed on the local computer.  
16

  
17
* Subversion Client - SlikSVN 
18

  
13 19
Quick Start Windows
14 20
-------------------
15 21

  
16
1. Download [ADMB source distribution](download).
22
1. Open **Command Prompt** window
17 23

  
18
   [download]: http://www.admb-project.org/downloads/
24
2. Download ADMB
19 25

  
20
   Right click the downloaded file and extract to `C:\admb\`.
26
   To get the most current code, download from directly from 
27
   ADMB version control using the command below.
21 28

  
22
2. Open **'Command Prompt'** window and change to admb directory.
29
       C:\> svn checkout http://www.admb-project.org/svn/trunk admb
23 30

  
24
   `C:\> cd admb`
31
   This will download admb trunk folder to _C:\admb\ _.
25 32

  
26
3. Install MinGW C++ compiler.
33
   If **unable** to checkout code, download the full source distribution.
27 34

  
28
   `C:\admb\> utilities\get-mingw.bat`
35
   [download]: http://www.admb-project.org/buildbot/snapshots/admb-latest.zip
29 36

  
30
   Downloads approximately 177 MB from 'sourceforge.net'.  This will also
31
   update existing MinGW installation.
37
   Double click downloaded zip file and extract to _C:\admb\ _.
32 38

  
33
   If MinGW has been already installed, use the command below to add MinGW
34
   programs to the system **'PATH'**.
39
3. Change to admb directory
35 40

  
36
   `C:\admb\> set PATH=C:\MinGW\bin;%PATH%`
41
       C:\> cd admb
37 42

  
38
4. Build libraries
43
4. Install MinGW C++ compiler
39 44

  
40
   `C:\admb\> utilities\make`
45
   If MinGW C++ compiler has already been installed, skip this step and go to
46
   step 5.
41 47

  
42
   To build with debug symbols,
48
   If MinGW C++ compiler has not been installed, use the command below to download
49
   and install from the MinGW site to the _C:\admb\utilities\mingw_ folder.
43 50

  
44
   `C:\admb\> utilities\make debug`
51
       C:\admb\> utilities\get-mingw.bat
45 52

  
46
   Takes approximately 15-25 minutes to complete.
53
   Downloads approximately 177 MB from MinGW downloads.  This will also
54
   update existing MinGW installation.
47 55

  
48
5. Build and run the simple example.
56
5. Build ADMB distribution
49 57

  
50
   `C:\admb\> cd examples\admb\simple`
58
   If MinGW was installed with _get-mingw.bat_, use the command below.
51 59

  
52
   `C:\admb\examples\admb\simple\> C:\admb\admb simple`
60
       C:\admb\> utilities\make
53 61

  
54
   `C:\admb\examples\admb\simple\> simple`
62
   Build with debug symbols,
55 63

  
56
6. *[Optional]* Include admb in system **PATH**.
57
   Avoids the need the to add the prefix path to the admb script.
64
       C:\admb\> utilities\make debug
58 65

  
59
   A. In the **'System Properties'** window, click on the **'Enviroment Variables'** button.
66
   If MinGW was installed in _C:\MinGW_, set the MINGW_HOME to specify the 
67
   location.
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff