<div>Hi, Johnoel, Mark, and Ian.</div><div>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. </div><div> </div><div>********* Summary for installation of the latest version (ADMB 11.0) with GCC compiler for Window *************</div><div>********* for having ADMB work in *any* DOS window *************</div><div>1. Follow the installation process, described in the following URL </div><div><a href="http://www.admb-project.org/documentation/installation/admb-installation-mingw">http://www.admb-project.org/documentation/installation/admb-installation-mingw</a></div><div> </div><div>2. Create ADMB_HOME and PATH, and also add the following to the existing Path.</div><div>(1) Click My Computer => click Properties => then a window will pop out => click "Advanced system settings" in the window.</div><div>(2) Another window, named "System Properties" will pop out. Choose "Advanced" menu, and then click "Environment Variables".</div><div>(3) In the window of "Environment Variables", you see two sections under "User variables for USER" and "System variables". </div><div>(4) In the section of "User variables for User", create the following variable and its value by clicking "New" button.</div><div> ADMB_HOME C:\ADMB</div><div> PATH %ADMB_HOME%\bin;%ADMB_<wbr>HOME%\utilities;%PATH%</div><div><div style="color: rgb(80, 0, 80); font-family: arial,sans-serif; font-size: 13px;">(5) In the section of "System variables", add the following to the existing Path</div><div style="color: rgb(80, 0, 80); font-family: arial,sans-serif; font-size: 13px;"> C:\ADMB\bin;C:\ADMB\include;C:\ADMB\lib;C:\MinGW\bin</div><div style="color: rgb(80, 0, 80); font-family: arial,sans-serif; font-size: 13px;"> </div><div style="color: rgb(80, 0, 80); font-family: arial,sans-serif; font-size: 13px;">Finally save them (i.e., by clicking OK button), and restart your machine. Then you will see the latest version works in *any* DOS window. </div><div style="color: rgb(80, 0, 80); font-family: arial,sans-serif; font-size: 13px;">Thank you again. Cheers,</div><div style="color: rgb(80, 0, 80); font-family: arial,sans-serif; font-size: 13px;">Saang-Yoon</div></div><div> </div><div><br>On Monday, February 4, 2013 6:05:10 PM UTC-5, Saang-Yoon wrote:</div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote"><div>Hi, Johnoel.</div><div>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.] </div><div> </div><div>*** adcomp -r PT100<br>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 PT100.cpp</div><div> </div><div>Error: could not create PT100.obj<br></div><div> </div><div>'sed' is not recognized as an internal or external command,<br>operable program or batch file.<br>......</div><div>......</div><div><br>Error executing command sed -e " " PT100.htp >> classdef.tmp<br>Error executing command sed -e " " classdef.tmp > PT100.htp<br>Error executing command sed -n -f c:\admb\bin\seddf1b3 tfile2 >> PT100.htp<br>Error executing command sed -n -f c:\admb\bin\seddf1b4 tfile4 >> PT100.htp<br>Error executing command sed -f c:\admb\bin\seddf1b2 tfile2 >> PT100.htp<br>Error executing command sed -f c:\admb\bin\sedf1b2d tfile4 >> PT100.htp<br>Error executing command sed -f c:\admb\bin\sedf1b2a xxalloc3.tmp >> PT100.cpp<br>Error executing command sed -f c:\admb\bin\sedf1b2c xxalloc2.tmp >> PT100.cpp<br>Error trying to create output file PT100.cpp<br>PT100.cpp:398:1: error: stray '\32' in program<br>PT100.cpp:19:3: error: 'df1b2_parameters' does not name a type<br>PT100.cpp:20:40: error: invalid use of incomplete type 'struct model_parameters'<br>c:\admb\include/admodel.h:107:<wbr>9: error: forward declaration of 'struct model_parameters'</div><div>......</div><div>......</div><div> </div><div>Again thank you.</div><div>Saang-Yoon</div><div> </div><div> </div><div><br>On Monday, February 4, 2013 2:41:29 PM UTC-5, Johnoel Ancheta wrote:</div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote"><div dir="ltr"><div>In the command prompt,<br></div><div><br></div><div>set ADMB_HOME=c:\admb</div><div>set PATH=%ADMB_HOME%\bin;%PATH%</div><div><br></div><div>or set them in the system environmental <wbr>variables.<br>
<br><div class="gmail_quote">On Fri, Feb 1, 2013 at 4:02 PM, Saang-Yoon <span dir="ltr"><<a>shy...@gmail.com</a>></span> wrote:<br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
<div>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? </div>
<span><font color="#888888"><div>S.</div></font></span><div><div><div> </div><div><br>On Friday, February 1, 2013 8:20:37 PM UTC-5, Saang-Yoon Hyun wrote:</div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
<div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div>Hi.</div>
<div>I used to use ADMB-IDE and now install the latest version of ADMB (11.0). For the installation, I chose <a href="http://admb-project.googlecode.com/files/admb-11-mingw-gcc4.5-32bit.exe" target="_blank">MinGW and Windows 7 (32 bit)</a>. 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:</div>
<div>'admb' is not recognized as an internal or external command, </div>
<div>operable program or batch file.</div>
<div> </div>
<div>Is this problem due to footprints from ADMB-IDE I used to use? Importantly what should I do to correct it? Thanks in advance.</div>
<div>Saang-Yoon</div>
<div> </div></div></div></blockquote></div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a>Us...@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>
</blockquote></blockquote>