<div>Mark and others.</div><div>I added the following into the Path.</div><div>C:\ADMB\include;C:\ADMB\lib</div><div> </div><div>Then when compiling a TPL file (e.g., admb -r MMPT100), I have the following error message.</div><div><br>*** tpl2rem mmpt100<br>ADMB_HOME environment string is not set</div><div>Error: could not create mmpt100.cpp<br></div><div>Then, I create ADMB_HOME variable under "User variables" under "Environment Variables", giving its Value C:\ADMB. That is,</div><div>ADMB_HOME C:\ADMB</div><div>But still I have the same error message.</div><div> </div><div>S.</div><div> </div><div><br>On Saturday, February 2, 2013 7:23:18 PM 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;'>You have to put the include and library directories in the path as well</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"><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="N-yPnb4KTBkJ">users-...@admb-project.org</a> [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="N-yPnb4KTBkJ">users-...@admb-<wbr>project.org</a>]
<b>On Behalf Of </b>Saang-Yoon<br>
<b>Sent:</b> Saturday, February 02, 2013 3:47 PM<br>
<b>To:</b> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="N-yPnb4KTBkJ">admb-...@googlegroups.com</a><br>
<b>Cc:</b> users; Saang-Yoon Hyun<br>
<b>Subject:</b> Re: [ADMB Users] ADMB installation</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">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).
</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">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
</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">In order to run admb in *any* DOS window, I put the following into Path.</p>
</div>
<div>
<p class="MsoNormal">c:\ADMB\bin;c:\MinGW\bin</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">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.</p>
</div>
<div>
<p class="MsoNormal">simple.cpp:1:21: fatal error: admodel.h: No such file or directory<br>
compilation terminated.</p>
</div>
<div>
<p class="MsoNormal">What am I missing? </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Saang-Yoon</p>
</div>
<div>
<p class="MsoNormal"><br>
On Saturday, February 2, 2013 1:10:54 AM UTC-5, MM wrote:</p>
</div>
<blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; border-color: currentColor currentColor currentColor rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin-right: 0in; margin-left: 4.8pt;">
<div>
<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: 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>users-...@admb-project.org</a> [mailto:<a>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>
</div>
</div>
</blockquote>