ADMB-11.2pre
Released December 9, 2014
Describe ADMB build and installation procedures for Windows and Visual C++ compilers.
Note — For Microsoft Visual C++ 2010, read installation documentation.
The following programs should be installed on the local computer.
Open Visual Studio Command Prompt window
Download ADMB
To get the most current code, download from directly from ADMB version control using the command below.
C:\> svn checkout http://www.admb-project.org/svn/trunk admb
This will copy admb trunk folder to C:\admb\ .
If unable to checkout, download full source distribution.
Double click downloaded zip file and extract to C:\admb\ .
Change to admb directory
C:\> cd admb
Build ADMB
To build ADMB, use the commands below.
C:\admb\> nmake
If debug symbols are needed, use the command below.
C:\admb\> nmake debug
Note — When completed, C:\admb\build\dist
is the binary distribution directory.
Use ADMB
The following commands build and run the simple example.
C:\admb\> cd examples\admb\simple
C:\admb\examples\admb\simple\> C:\admb\admb simple.tpl
C:\admb\examples\admb\simple\> simple.exe
Optional — Installation
Add the admb directory to the system PATH to avoid typing the directory when calling the admb script.
In the System Properties window, click on the Enviroment Variables button.
In the Enviroment Variables windows, click on the New button, then in the Variable name input type PATH
and in the Variable value input type C:\admb\;%PATH%
.
Click the OK button when done and open a new command prompt.
C:\admb\> cd examples\admb\simple
C:\admb\examples\admb\simple\> admb simple.tpl
C:\admb\examples\admb\simple\> simple.exe
For help and support, contact users@admb-project.org.
$Id: QuickStartVisualC++Source.txt 2776 2014-12-09 20:21:10Z johnoel $