ADMB Installation Windows GCC
The Windows GCC version of ADMB works with an open source GNU Compiler Collection (GCC) implemented in Windows using a software port called MinGW. Follow the procedure to install and build ADMB programs.
Note: the ADMB-IDE (integrated development environment) installs GCC along with ADMB and therefore may be an easier place for new users to start.
- Download the 32-bit version of GCC version 4.5.2 from the gcc page.
and unzip the file into a C:\MinGW\.
Note: a version of ADMB for Windows with 64 bit GCC is coming soon.
- Edit your PATH environmental variable to include the location where you put GCC. In Windows 7 this can be done as follows:
- Right-click on "My Computer" and click "Properties".
- Click the "Advanced System Settings" link in the left column.
- In the "System Properties" window click the "Environment Variables" button.
- Highlight the "Path" variable in the Systems Variable section and click "Edit"
- Add the location from step 1 to the existing path, separated by a semi-colon.
If you DO NOT have administrative privileges, choose a location like c:\ADMB. This might be preferable regardless.
c:\ADMB> cd examples\admb\simple c:\ADMB\examples\admb\simple> admb simple c:\ADMB\examples\admb\simple> simple
If those commands give output like that shown in the screenshot below, your installation is a success.
Please email email@example.com for any problems with the procedure above. Please include information about your operating system, the version of ADMB you're trying to install, and what error messages or other problems you had.