[ADMB Users] ADMB installation - summary
shyunuw at gmail.com
Mon Feb 4 16:12:07 PST 2013
Hi, Johnoel, Mark, and Ian.
Excellent!! Now the latest version works in *any* DOS window. Thank you
very much for your help. Here I summarize it for others who may have a
similar problem to mine.
********* Summary for installation of the latest version (ADMB 11.0)
with GCC compiler for Window *************
********* for having ADMB work in *any* DOS
1. Follow the installation process, described in the following URL
2. Create ADMB_HOME and PATH, and also add the following to the existing
(1) Click My Computer => click Properties => then a window will pop out =>
click "Advanced system settings" in the window.
(2) Another window, named "System Properties" will pop out. Choose
"Advanced" menu, and then click "Environment Variables".
(3) In the window of "Environment Variables", you see two sections under
"User variables for USER" and "System variables".
(4) In the section of "User variables for User", create the following
variable and its value by clicking "New" button.
(5) In the section of "System variables", add the following to the existing
Finally save them (i.e., by clicking OK button), and restart your
machine. Then you will see the latest version works in *any* DOS
Thank you again. Cheers,
On Monday, February 4, 2013 6:05:10 PM UTC-5, Saang-Yoon wrote:
> 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> 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?
>>> On Friday, February 1, 2013 8:20:37 PM UTC-5, Saang-Yoon Hyun wrote:
>>>> 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.
>>> Users mailing list
>>> Us... at admb-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users