[ADMB Users] Broken tpl2cpp in Windows

Johnoel Ancheta johnoel at hawaii.edu
Tue Apr 21 22:34:57 PDT 2009


Thanks Arni,

Use link below instead of zip because it contains all the packages needed.

http://code.google.com/p/admb-project/downloads/detail?name=admb-
9.0.202-win32.exe

I will need to update the install documentation for MinGW.

Johnoel

----- Original Message -----
From: Arni Magnusson <arnima at hafro.is>
Date: Tuesday, April 21, 2009 3:55 pm
Subject: Broken tpl2cpp in Windows
To: Johnoel Ancheta <johnoel at hawaii.edu>
Cc: Hans Julius Skaug <Hans.Skaug at math.uib.no>, John Sibert <sibert at hawaii.edu>, Anders Nielsen <anders at nielsensweb.org>, Mark Maunder <mmaunder at iattc.org>

> Hi everyone,
> 
> The tpl2cpp.exe in the official ADMB for MinGW release 
> (http://admb-project.googlecode.com/files/admb-9.0.202-mingw-
> gcc3.4.5.zip) 
> is broken:
> 
>    > 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
> 
> The tpl2cpp program has run independent of cat in all previous 
> ADMB 
> release, and I hope it will continue to do so. In my opinion, we 
> shouldn't 
> force the user to install anything except the ADMB core and a 
> compiler.
> [For the same reason, I think asking the user to install 
> gnuwin32 make 
> adds an unnecessary layer of complexity, since the traditional 
> makeadm 
> simple is all that's required to test the installation - but we 
> can save 
> that discussion till later. The examples/admb/Makefile is of 
> course a 
> great bug test for the development team, on the other hand.]
> 
> This problem with tpl2cpp.exe is a Windows feature and therefore 
> partly on 
> my watch, but I haven't figured out what has to be changed in 
> the sources 
> to make it independent again. A quick fix is to copy tpl2cpp.exe 
> from 
> http://admb-project.googlecode.com/files/admb-9.0.65.2-mingw32-
> gcc3.4.5.zip 
> and release a patched version.
> 
> Cheers,
> 
> Arni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20090421/810a1652/attachment.html>


More information about the Users mailing list