[ADMB Users] ADMB installation

Saang-Yoon shyunuw at gmail.com
Mon Feb 4 15:05:10 PST 2013

Hi, Johnoel.
Thanks to your help below, I made some progress.   However, still I run 
into errors below [as opposed to successful compile/link in the" ADMB-11 
Command Prompt (MinGW GCC-4.5.2)" window, where I was running a random 
effect model.]  
*** adcomp -r PT100
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DOPT_LIB -DUSE_LAPLACE 
-fpermissive -I. -I"c:\admb\include" -I"c:\admb\contrib" -o PT100.obj 
Error: could not create PT100.obj
'sed' is not recognized as an internal or external command,
operable program or batch file.

Error executing command  sed -e " " PT100.htp >>  classdef.tmp
Error executing command  sed -e " "  classdef.tmp > PT100.htp
Error executing command sed -n -f c:\admb\bin\seddf1b3 tfile2 >> PT100.htp
Error executing command sed -n -f c:\admb\bin\seddf1b4 tfile4 >> PT100.htp
Error executing command sed -f c:\admb\bin\seddf1b2 tfile2 >> PT100.htp
Error executing command sed -f c:\admb\bin\sedf1b2d tfile4 >> PT100.htp
Error executing command sed -f c:\admb\bin\sedf1b2a xxalloc3.tmp >> 
Error executing command sed -f c:\admb\bin\sedf1b2c xxalloc2.tmp >> 
Error trying to create output file PT100.cpp
PT100.cpp:398:1: error: stray '\32' in program
PT100.cpp:19:3: error: 'df1b2_parameters' does not name a type
PT100.cpp:20:40: error: invalid use of incomplete type 'struct 
c:\admb\include/admodel.h:107:9: error: forward declaration of 'struct 
Again thank you.

On Monday, February 4, 2013 2:41:29 PM UTC-5, Johnoel Ancheta wrote:

> In the command prompt,
> set ADMB_HOME=c:\admb
> set PATH=%ADMB_HOME%\bin;%PATH%
> or set them in the system environmental variables.
> On Fri, Feb 1, 2013 at 4:02 PM, Saang-Yoon <shy... at gmail.com <javascript:>
> > wrote:
>> My question below should have been elaborated.   I find that, under 
>> "ADMB-11 Command Prompt" window, compile and link (i.e., admb xxx.TPL) are 
>> successfully made!!!    However, they are not under an ordinary Command 
>> Prompt window.    In order to let compile and link be made in any Command 
>> Prompt window, what should I do?  
>> S.
>> On Friday, February 1, 2013 8:20:37 PM UTC-5, Saang-Yoon Hyun wrote:
>>> 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
>> _______________________________________________
>> Users mailing list
>> Us... at admb-project.org <javascript:>
>> http://lists.admb-project.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130204/d7ddae43/attachment.html>

More information about the Users mailing list