<div>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). </div><div> </div><div>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 </div><div> </div><div>In order to run admb in *any* DOS window, I put the following into Path.</div><div>c:\ADMB\bin;c:\MinGW\bin</div><div> </div><div>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.</div><div>simple.cpp:1:21: fatal error: admodel.h: No such file or directory<br>compilation terminated.<br></div><div>What am I missing? </div><div> </div><div>Saang-Yoon</div><div><br>On Saturday, February 2, 2013 1:10:54 AM UTC-5, MM 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 lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p>
<p class="MsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>This directory has to be in the path</span></p>
<p class="MsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'>C:\Program Files (x86)\ADMB\bin</span></p>
<p class="MsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p>
<p class="MsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p>
<p class="MsoNormal"><span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'> </span></p>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentColor currentColor; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style='font-family: "Tahoma","sans-serif"; font-size: 10pt;'>From:</span></b><span style='font-family: "Tahoma","sans-serif"; font-size: 10pt;'> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="cS7v_aUSwmEJ">users-...@admb-project.org</a> [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="cS7v_aUSwmEJ">users-...@admb-<wbr>project.org</a>]
<b>On Behalf Of </b>Saang-Yoon Hyun<br>
<b>Sent:</b> Friday, February 01, 2013 5:21 PM<br>
<b>To:</b> users <br>
<b>Subject:</b> [ADMB Users] ADMB installation</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'>Hi.</span></p>
</div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'>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:</span></p>
</div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'>'admb' is not recognized as an internal or external command,
</span></p>
</div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'>operable program or batch file.</span></p>
</div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'> </span></p>
</div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'>Is this problem due to footprints from ADMB-IDE I used to use? Importantly what should I do to correct it? Thanks in advance.</span></p>
</div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'>Saang-Yoon</span></p>
</div>
<div>
<p class="MsoNormal"><span style='color: black; font-family: "Arial","sans-serif";'> </span></p>
</div>
</div>
</div>
</div>
</blockquote>