[ADMB Users] building 64 bit mingw libraries for ADMB
dave fournier
davef at otter-rsch.com
Fri Oct 17 06:27:17 PDT 2014
I recently had trouble with the windows installer for the 64 bit mingw
C++ compiler for windows.
Here is what worked for me to do a 64 bit compile ADMB source.
I put everything in c:\ because I hate long directory names (with spaces).
Get the source from
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.0/threads-posix/seh/x86_64-4.9.0-release-posix-seh-rt_v3-rev2.7z
In the directory c:\
extract the source with 7zip
you will get the files in c:\mingw64
Add
c:\admb;c:\mingw64\bin
to your PATH environment string. (Done with control panel.)
Download ADMB source from
http://admb-project.googlecode.com/files/admb-11.1.zip
Again in c:\ unzip the code.
You will have a directory admb. Change to that directory.
Now go down one directory to src
Add the line
MINGW_HOME=c:\mingw64
to the file GNUmakefile
Go up one directory to admb again.
Type
mingw32-make.exe
This will build the admb 64 bit libraries.
1,1 Top
More information about the Users
mailing list