ADMB Building Source for Windows with Visual Studio

ADMB-12.2
Released July 31, 2020

Describe building ADMB from source for Windows and Visual C++ compilers.


Building Source

Prerequisite — Visual Studio C++ is installed on the local computer.

  1. Download

    Download source distribution admb-12.2-src.zip.

    Double click downloaded zip file and extract admb directory to C:\admb-12.2\>.

  2. Build

    Open Visual Studio Developer Command Prompt window

    • For Visual C++ 2015, Double click Developer Command Prompt for VS2015 in Visual Studio Tools.

    • For Visual C++ 2017, Double click Developer Command Prompt for VS2017 in Visual Studio Tools.

    • For Visual C++ 2019, Double click Developer Command Prompt for VS2019 in Visual Studio Tools.

    In the Visual Studio Developer Command Prompt window, use the steps below to build ADMB.

    Change to admb directory.

    C:\> cd admb-12.2
    

    To build ADMB, use the command below.

    C:\admb-12.2\> nmake
    
  3. Test

    In the Developer Command Prompt window, use the steps below to build and run the examples.

    Build examples

    C:\admb-12.2\> cd examples
    C:\admb-12.2\examples\> nmake all
    

    Read manuals for more information.

Help

For help and support, contact users@admb-project.org.


ADMB Foundation © 2007–2024