ADMB Building Source with Visual Studio

ADMB-13.0
Released August 8, 2022

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-13.0-src.zip.

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

  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
    

    To build ADMB, use the command below.

    C:\admb\> nmake
    
  3. Test

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

    Build examples

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

    Read manuals for more information.

Help

For help and support, please post on the ADMB Discussions.


ADMB Foundation © 2007–2024