<div dir="ltr">Seems to work at least for me.<div><br></div><div>Can you try with the current trunk revision?</div><div><br></div><div>If it still fails, provide steps and output for me to see. </div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jan 10, 2014 at 1:19 PM, Jon Schnute <span dir="ltr"><<a href="mailto:schnutej-dfo@shaw.ca" target="_blank">schnutej-dfo@shaw.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-CA" link="blue" vlink="purple"><div><p class="MsoNormal">Before Christmas, I put together everything needed to build and run ADMB in Windows (32-bit or 64-bit). I posted all the files on the web site for the R package PBSadmb. See:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="http://code.google.com/p/pbs-admb/downloads/list" target="_blank">http://code.google.com/p/pbs-admb/downloads/list</a><u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">The two big toolkits (ADMBtools32 and ADMBtools64, in 7z compression which is much better than zip) each have size less than 150 MB, not that big in the scheme of things. They do, however, take some time to download.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Each toolkit includes a PDF file that explains precisely where all the software came from. I intend to write an installation guide, but the procedure is quite simple:<u></u><u></u></p>
<p class="MsoNormal">1. Decide between 32- and 64-bit; <u></u><u></u></p><p class="MsoNormal">2. download two files (ADMBtools32 and ADMBlib32, or ADMBtools64 and ADMBlib64); <u></u><u></u></p><p class="MsoNormal">3. uncompress each one to a suitable path;<u></u><u></u></p>
<p class="MsoNormal">4. tweak the system path accordingly.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">***** Johnoel please fix the bug below:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">By default, ADMBtools64 makes a 64-bit version, but the same tools would make a 32-bit version if the make file supported the following command suggested by Johnoel:<u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">make CXXFLAGS=-m32 LDFLAGS=-m32 shared<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">In fact, this does produce 32-bit ADMB libraries, but the script “admb.cmd” fails to include the parameter “-m32” in the compile and link steps. As a result, ADMB won’t build 32-bit examples correctly, even though a 32-bit binary ADMB library is available.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Once this bug is fixed, I’ll drop ADMBtools32 and write an installation guide that tells users how to use ADMB on Windows with these files. That will put an end to the need for users to assemble the “mingw” files needed to build and use ADMB.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I hope you all had great holidays. Best wishes for 2014!<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jon<u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">PS to Johnoel – If you give me the necessary permissions, I can put my files on the ADMB Project page, where they should ideally be located. Chris is really busy right now, or he would do it. <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Johnoel Ancheta [mailto:<a href="mailto:johnoel@hawaii.edu" target="_blank">johnoel@hawaii.edu</a>] <br>
<b>Sent:</b> December-13-13 1:56 PM<br><b>To:</b> Jon Schnute<br><b>Subject:</b> Re: How to build admb source with mingw 64 - finally!<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">
GNUwin32 seems to be inactive, but the existing tools work very well.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Chris and I are working on the final target shared in 64 bit mode using Rtools. <u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Can I bug once again to try<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">C:\admb\> utilities\make CXXFLAGS=-m64 LDFLAGS=-m64 shared<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If it works for 3...<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Johnoel<u></u><u></u></p>
</div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p></div></div></div></blockquote></div><br></div>