[ADMB Users] ADMB installation

Saang-Yoon shyunuw at gmail.com
Sat Feb 2 17:01:08 PST 2013


Mark and others.
I added the following into the Path.
C:\ADMB\include;C:\ADMB\lib
 
Then when compiling a TPL file (e.g., admb -r MMPT100), I have the 
following error message.

*** tpl2rem mmpt100
ADMB_HOME environment string is not set
Error: could not create mmpt100.cpp
Then, I create ADMB_HOME variable under "User variables" under "Environment 
Variables", giving its Value C:\ADMB.  That is,
ADMB_HOME     C:\ADMB
But still I have the same error message.
 
S.
 

On Saturday, February 2, 2013 7:23:18 PM UTC-5, MM wrote:

>  You have to put the include and library directories in the path as well
>
>  
>
> *From:* users-... at admb-project.org <javascript:> [mailto:
> users-... at admb-project.org <javascript:>] *On Behalf Of *Saang-Yoon
> *Sent:* Saturday, February 02, 2013 3:47 PM
> *To:* admb-... at googlegroups.com <javascript:>
> *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 [mailto:users-... at admb-project.org] *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/20130202/0e2e9379/attachment.html>


More information about the Users mailing list