ADMB Project

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.

Quick Start

  1. Open Visual Studio Command Prompt window

  2. Download ADMB

    To get the most current code, download from directly from ADMB version control using the command below.

    C:\> svn checkout 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\ .

  3. Change to admb directory

    C:\> cd admb
  4. 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.

  5. 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
  6. Optional — Installation

    Add the admb directory to the system PATH to avoid typing the directory when calling the admb script.

    1. In the System Properties window, click on the Enviroment Variables button.

    2. 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%.

    3. 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

$Id: QuickStartVisualC++Source.txt 2776 2014-12-09 20:21:10Z johnoel $