[ADMB Users] ADMB Installation Windows GCC
Arni Magnusson
arnima at hafro.is
Tue Apr 3 15:26:20 PDT 2012
Another way to get the GCC compiler for Windows is to pick one from
http://admb-project.org/community/related-software/gcc
---
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?
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.
---
You may find it easiest to install ADMB and GCC together using the
ADMB-IDE installer:
http://code.google.com/p/admb-project/downloads/list?q=admb+ide+101+exe
That should be plug-and-play, if you have administrator rights.
Arni
On Tue, 3 Apr 2012, Ian Taylor wrote:
> Hi Roy,
>
> I gave you bad advice earlier. I just recreated your error while testing
> the installation instructions.
>
> 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
> http://admb-project.org/documentation/installation/admb-installation-mingw
>
> Thanks Chris for helping me find the error of my ways.
>
> -Ian
>
>
>
> On Tue, Apr 3, 2012 at 8:29 AM, Ian Taylor <ian.taylor at noaa.gov> wrote:
>
>> Hi Roy,
>>
>> 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.
>>
>> 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?
>>
>> -Ian
>>
>>
>>
>> On Mon, Apr 2, 2012 at 9:54 PM, <Roy.Deng at csiro.au> wrote:
>>
>>> Hi There,
>>>
>>> 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?
>>>
>>> Appreciate if any help/advice from you.
>>>
>>> Thanks
>>>
>>> Roy Deng
>>
>
More information about the Users
mailing list