[ADMB Users] Problem with installation

Gabor Grothendieck ggrothendieck at gmail.com
Wed Dec 10 07:01:27 PST 2008


The link to the batchfiles home page was missing in #2 below:

http://batchfiles.googlecode.com


On Tue, Dec 9, 2008 at 2:01 PM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
> Maybe its a PATH problem.
>
> 1. Download and install Rtools28.exe
> from
> http://www.murdoch-sutherland.com/Rtools/
> Installing Rtools28 will not only install MinGW tools but
> will also set a key in your registry.
>
> 2. Then download batchfiles (be sure to get the correct version
> for your machine: XP or Vista) and grab rtools.bat from it. You
> don't need any other file in batchfiles.
>
> 3. Then issue this command from the Windows console (which
> will look up the key that Rtools28 set and temporarily set up
> your path (so you don't have to it manually) to find them:
>
> rtools.bat
>
> 4. At this point you should be able to access the various
> MinGW tools from the command line (in the current session).
> Try this to be sure you can:
>
> g++ --version
> cat --version
>
> 5. Now you can install and run admb.
>
>
> On Tue, Dec 9, 2008 at 5:47 AM, Tony Booth <t.booth at ru.ac.za> wrote:
>> I seem to having some hassles with installing the newly available ADMB
>> software.
>>
>> I followed these steps
>>
>> 1) I deleted my ADMB v7 software
>> 2) I deleted my MINGW version
>> 3) Followed all instructions to a tee.
>> 4) But, when I try to "make" an executable I get the following returned to
>> me
>>
>> -----------------
>> C:\ADMB>make
>> cd C:\\admb\\examples\\admb\\buscycle && makeadm.bat ham4 && ham4.exe
>> 'cat' is not recognized as an internal or external command,
>> operable program or batch file.
>> Error trying to create output file
>> ham4.cpp/mingw/lib/libmingw32.a(main.o):main.c:(.text+0xbd): undefined
>> reference to `WinMain at 16'
>> collect2: ld returned 1 exit status
>> make: *** [ham4] Error 1
>> --------
>>
>> I have checked on the version of GCC as follows
>> ------------
>> C:\ADMB\examples\admb\simple>gcc -v
>> [detail deleted]
>> gcc version 3.4.5 (mingw-vista special r3)
>> -----------
>>
>> Compiled a simple EXE which works.
>>
>> But when I try to generate a simple CPP file from the template I get th
>> following response
>>
>> -------------
>> C:\ADMB\examples\admb\simple>tpl2cpp simple
>> 'cat' is not recognized as an internal or external command,
>> operable program or batch file.
>> Error trying to create output file simple.cpp
>> C:\ADMB\examples\admb\simple>
>> --------------
>>
>> I suspect the solution will be quite simple, but I just can't seem to find
>> the problem. Any ideas on further troubleshooting?
>>
>> Regards,
>> Tony
>>
>>
>> --------------------
>> Tony Booth
>> Department of Ichthyology and Fisheries Science Rhodes University, PO  Box
>> 94, Grahamstown 6140 SOUTH AFRICA
>>
>> Tel: (+27) (0)46 6038415/6 Fax: (+27) (0)46 6224827
>> Email: t.booth at ru.ac.za
>>
>> _______________________________________________
>> Users mailing list
>> Users at admb-project.org
>> http://lists.admb-project.org/mailman/listinfo/users
>>
>



More information about the Users mailing list