Revision 403

trunk/README.txt (revision 403)
38 38
   - Linux and GCC
39 39
   - MacOS and XCode
40 40
   - Windows and GCC
41
   - Windows and MSVC
41
   - Windows and Microsoft Visual C++ 2010 Express
42 42
 * Installation from Source Code
43 43
   - Linux and GCC
44 44
   - Linux and Intel Compiler
45 45
   - Linux and Solaris Studio
46 46
   - MacOS and Clang
47
   - Windows and MSVC
47
   - Windows and GCC
48
   - Windows and Microsoft Visual C++ 2010 Express
48 49
 * Documentation
49 50
 * Developing AD Model Builder
50 51
   - Version Control
......
137 138
and script (/usr/local/bin/admb).
138 139

  
139 140
Windows and GCC
140
---------------
141
--------------------------------
141 142
1. Download the executable installer for Windows GCC from 
142 143
   http://admb-project.org/downloads. The GCC compiler is included with 
143 144
   this installer.
......
161 162
   Those commands should compile and run the simple model, producing output 
162 163
   ending with the line "Estimating row 2 out of 2 for hessian".
163 164

  
164
Windows and MSVC
165
----------------
165
Windows and Microsoft Visual C++ 2010 Express
166
--------------------------------------------------------------
167
For HTML directions, go to:
168
http://admb-project.org/documentation/installation/admb-installation-visual-c
169

  
166 170
1. Download and install the following software, install them in their default
167 171
   locations:
168 172
   A. Microsoft .NET 4
......
174 178
   install location as the default C:\ADMB or another location without spaces in
175 179
   the name.
176 180

  
177
3. Add the following to the PATH in the order given. Only enter the second
178
   path is you are compiling for a 64-bit processor.  If so, this path must
179
   reflect which architecture you want to compile for, this example is for 
180
   Intel 64-bit processors.  This was tested on a 64-bit machine which
181
   has a folder called 'Program Files (x86)'.  If you are on a 32-bit machine,
182
   remove the '(x86)' from these paths.
181
3. Add the following to the PATH in the order given. If you are using a 32-bit
182
   machine, enter only the first, third, fourth, and fifth path listed in that
183
   order.  If you are using a 64-bit machine, enter all five paths in the order
184
   listed.  If you are compiling for a 64-bit machine, the second path listed
185
   here must reflect which architecture you want to compile for, this example
186
   is for Intel 64-bit processors - for most people this should not be changed.
187
   Also, if you are on a 32-bit machine, remove the ' (x86)' from these paths.
183 188

  
184 189
   C:\Program Files\Microsoft SDKs\Windows\v7.1
185
   C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_ia64
190
   C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64
186 191
   C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin
187 192
   C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
188
   C:\admb\bin
193
   C:\ADMB\bin
189 194

  
190 195
4. Add the following environment variables:
191
   ADMB_HOME = C:\admb
196
   ADMB_HOME = C:\ADMB
192 197
   INCLUDE   = C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include;
193 198
               C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
199

  
200
   For the LIB variable, choose either 32-bit or 64-bit.
201
   32-bit LIB:
194 202
   LIB       = C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib;
195 203
               C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib 
196 204

  
205
   64-bit LIB:
206
   LIB       = C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;
207
               C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64 
208

  
197 209
5. Logout and login again to make the environment variable changes take effect.
198 210

  
199
6. For a 32-bit build, open any DOS window and you may compile your code.
200
   For a 64-bit build, you must use the Windows SDK 7.1 command prompt to
201
   compile. This should be a shortcut in the Start menu which is:
211
6. You may now open any command shell (DOS window) or call admb from within an
212
   editor window using whatever compile command you would like. Try this using
213
   the "Simple" example.  Open a command window,  by clicking Start->Run then
214
   typing cmd.exe and enter the following commands in the window:
202 215

  
203
   C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K 
204
   "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd"
216
   > C:
217
   > cd ADMB\examples\admb\simple
218
   > admb simple
219
   > simple
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff