Roy is right. The adcomp.bat and adlink.bat seem to be missing from the ADMB 10.1 installation for Windows with GCC. My belief in recreating the error seemed to come from conflicts with other admb installations. <div><br></div>
<div>This seems to have been fixed sometime since the release of 10.1, so for the moment the best two options for getting ADMB for Windows with the GCC compiler are to either use the ADMB-IDE installer or wait for the release of ADMB 10.2.</div>
<div>-Ian<br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 3:26 PM, Arni Magnusson <span dir="ltr"><<a href="mailto:arnima@hafro.is">arnima@hafro.is</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another way to get the GCC compiler for Windows is to pick one from<br>
<br>
  <a href="http://admb-project.org/community/related-software/gcc" target="_blank">http://admb-project.org/<u></u>community/related-software/gcc</a><br>
<br>
---<br>
<br>
But surely the error message ('adcomp' is not recognized as an internal or external command, operable program or batch file") means that adcomp.bat is not in the PATH, right?<br>
<br>
In other words, that the adcomp.bat script is missing from the ADMB 'bin' directory and/or the PATH does not point to the ADMB 'bin' directory.<br>
<br>
---<br>
<br>
You may find it easiest to install ADMB and GCC together using the ADMB-IDE installer:<br>
<br>
  <a href="http://code.google.com/p/admb-project/downloads/list?q=admb+ide+101+exe" target="_blank">http://code.google.com/p/admb-<u></u>project/downloads/list?q=admb+<u></u>ide+101+exe</a><br>
<br>
That should be plug-and-play, if you have administrator rights.<span class="HOEnZb"><font color="#888888"><br>
<br>
Arni</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On Tue, 3 Apr 2012, Ian Taylor wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roy,<br>
<br>
I gave you bad advice earlier. I just recreated your error while testing the installation instructions.<br>
<br>
I had contributed incorrect information in the install instructions by saying that the GCC compiler was included with the ADMB installer. GCC is only included with the ADMB-IDE installer (which is quite convenient). Running ADMB in the absence of GCC causes the error you saw. I've added a step and link to MinGW installer download to the instructions at <a href="http://admb-project.org/documentation/installation/admb-installation-mingw" target="_blank">http://admb-project.org/<u></u>documentation/installation/<u></u>admb-installation-mingw</a><br>

<br>
Thanks Chris for helping me find the error of my ways.<br>
<br>
-Ian<br>
<br>
<br>
<br>
On Tue, Apr 3, 2012 at 8:29 AM, Ian Taylor <<a href="mailto:ian.taylor@noaa.gov" target="_blank">ian.taylor@noaa.gov</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roy,<br>
<br>
While the instructions are back online, they are also a work in progress (as is the installer itself). I think this is a problem of the path not getting set correctly. Although I'm not sure why it got past the tpl2cpp stage.<br>

<br>
Could you confirm that you are opening the ADMB command window via Start->All Programs->ADMB (MinGW GCC-4.5.2)->ADMB Command Prompt (MinGW GCC-4.5.2) rather than just any old DOS prompt?<br>
<br>
-Ian<br>
<br>
<br>
<br>
On Mon, Apr 2, 2012 at 9:54 PM, <Roy.Deng@csiro.au> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi There,<br>
<br>
Glad to see the instructions for GCC are online, but it doesn't work with my windows 7 system. Got error message: 'adcomp' is not recognized as an internal or external command, operable program or batch file. Guess 'adcomp' need to be re-written in dos formats?<br>

<br>
Appreciate if any help/advice from you.<br>
<br>
Thanks<br>
<br>
Roy Deng<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>