Personal tools
You are here: Home Documentation Installation ADMB Manual Installation MinGW

ADMB Manual Installation MinGW

by johnoel last modified Apr 21, 2010 06:26 PM

Shows the procedure to install, build and run ADMB with MinGW.

Introduction

MinGW is a open source tool set that include the gcc-3.4.5 compiler.  This compiler can be used to build ADMB programs.  Below shows the procedure to install and configure ADMB using MinGW.

Procedure

  1. Download and extract ADMB MinGW binaries from http://admb-project.org/downloads .
  2. Download and install the Automated MinGW Installer  from http://www.mingw.org/  .
  3. Download and install the Setup program for Make from http://gnuwin32.sourceforge.net/packages/make.htm .  GnuWin32 Make is needed to run the ADMB examples below.
  4. Download and install the Setup program for CoreUtils from http://gnuwin32.sourceforge.net/packages/coreutils.htm .
  5. Using a text editor, edit admb-mingw-vars.bat located in the extracted ADMB MinGw directory. Make sure the ADMB_HOME, GNUWIN32_HOME and MINGW_HOME are set to the installed directories above.


     mingw-notepad

  6. Open Windows Command Line (cmd).  In the Windows Start, click Start -> Run..., type cmd in the text box, then click the OK button.


    run-cmd

  7. In the command line window, change to extracted MinGW ADMB Home directory, then run admb-mingw-vars.bat .
    c:\admb> bin\admb-mingw-vars.bat

     The screenshot output.
    mingw-vars

  8. Run examples for verification.
    c:\admb> make

     The screenshot output.
    simple-mingw

 

Problems

Please email users@admb-project.org for any problems with the procedure above.

Document Actions