[ADMB Users] ADMB installation

Mark Maunder mmaunder at iattc.org
Sat Feb 2 16:23:18 PST 2013


You have to put the include and library directories in the path as well

From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org] On Behalf Of Saang-Yoon
Sent: Saturday, February 02, 2013 3:47 PM
To: admb-users at googlegroups.com
Cc: users; Saang-Yoon Hyun
Subject: Re: [ADMB Users] ADMB installation

This inquiry is more about PATH (which is under System variables under Environment Variables).   Ian and Mark's responses were helpful, but I still failed to run admb in *any* DOS window (i.e., *any* Command Prompt).

I installed the latest version of ADMB (11.0) with GCC (32bit) compiler.    It works only in the "ADMB-11 Command Prompt" window.   I put the latest version into the new folder say c:\ADMB    and the compiler into the new folder say c:\MinGW

In order to run admb in *any* DOS window, I put the following into Path.
c:\ADMB\bin;c:\MinGW\bin

Then, "admb" command is recognized in *any* DOS window, (good in terms of some progress ...).  But when compiling the example, "simple.TPL", I get the following error message.
simple.cpp:1:21: fatal error: admodel.h: No such file or directory
compilation terminated.
What am I missing?

Saang-Yoon

On Saturday, February 2, 2013 1:10:54 AM UTC-5, MM wrote:

This directory has to be in the path
C:\Program Files (x86)\ADMB\bin



From: users-... at admb-project.org<javascript:> [mailto:users-... at admb-project.org<javascript:>] On Behalf Of Saang-Yoon Hyun
Sent: Friday, February 01, 2013 5:21 PM
To: users
Subject: [ADMB Users] ADMB installation

Hi.
I used to use ADMB-IDE and now install the latest version of ADMB (11.0).   For the installation, I chose MinGW and Windows 7 (32 bit)<http://admb-project.googlecode.com/files/admb-11-mingw-gcc4.5-32bit.exe>.  Following the install process for Windows GCC, I got the same results as those from "admb simple" and "simple" in Command Prompt window, so the installation seemed to be successful.  However, when I typed "admb" in a different folder (from c:\ADMB\examples\admb\simple?, then I got the following error message:
'admb' is not recognized as an internal or external command,
operable program or batch file.

Is this problem due to footprints from ADMB-IDE I used to use?   Importantly what should I do to correct it?    Thanks in advance.
Saang-Yoon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130203/ed3926f7/attachment.html>


More information about the Users mailing list