<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1">H<font size="-1">ello,<br>
I was using ADMB 11 successfully with a MinGW64/Windows7
compiler<font size="-1">: </font></font></font><font size="-1"><font
size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1">g++ (tdm64-1) 4.7.1<br>
<br>
<font size="-1">However this <font size="-1">version
of the source code was failing to compile on
Linux: </font></font></font></font></font></font></font></font></font><font
size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1">g++
(SUSE Linux) 4.7.1 20120723
[gcc-4_7-branch revision 189773].<br>
<font size="-1">Error:<br>
<font size="-1"><font face="Courier
New, Courier, monospace">make
--directory=linad99 AR=ar CXX=g++
CXXFLAGS="-c -O3 -Wall
-D__GNUDOS__ -Dlinux -D__SPDLL__
-DUSE_LAPLACE
-DADMB_REVISION=Unversioned
directory -DADMB_VERSION=11
-DOPT_LIB -I../df1b2-separable
-I../nh99 -I../linad99
-I../tools99"
LIBPATH=../../build/objects/admb-11-linux-gcc4.7-64bit/linad99-olp
DISKDIR=../../build/admb-11-linux-gcc4.7-64bit
-f optg32-rh8-laplace.mak disk<br>
make[2]: Entering directory
`/mnt/sdc/Development/isam/thirdparty/ADMB/admb-11/src/linad99'<br>
g++ -c -O3 -Wall -D__GNUDOS__
-Dlinux -D__SPDLL__ -DUSE_LAPLACE
-DADMB_REVISION=Unversioned
directory -DADMB_VERSION=11
-DOPT_LIB -I../df1b2-separable
-I../nh99 -I../linad99
-I../tools99 cgamdev.cpp -o
../../build/objects/admb-11-linux-gcc4.7-64bit/linad99-olp/cgamdev.obj<br>
g++: error: directory: No such
file or directory<br>
make[2]: *** [cgamdev.obj] Error 1<br>
make[2]: Leaving directory
`/mnt/sdc/Development/isam/thirdparty/ADMB/admb-11/src/linad99'<br>
make[1]: *** [dist] Error 2<br>
make[1]: Leaving directory
`/mnt/sdc/Development/isam/thirdparty/ADMB/admb-11/src'<br>
make: *** [admb] Error 2</font><br>
</font><br>
</font></font></font></font></font></font></font></font></font></font></font></font></font>So
I updated to the latest version from the trunk <font size="-1">(as
at 27th Feb) and this will now compile <font size="-1">on
Linux, but the compilation for Windows <font size="-1">is
broken:<br>
<font size="-1">Windows Error:</font><br>
</font></font></font><font face="Courier New, Courier,
monospace">ADMB\admb-11_1>mingw32-make<br>
CC=gcc CFLAGS="" CXX=g++ CXXFLAGS=""
LIBPATH=../build/objects/admb-linux-gcc4.7-64bit
DISK=../build/admb-linux-gcc4.7-64bit ADMB_CONFIGURE=1
mingw32-make --directory=src --file=linux.mak<br>
'CC' is not recognized as an internal or external command,<br>
operable program or batch file.<br>
mingw32-make: *** [admb] Error 1</font><br>
<br>
<font size="-1"><font size="-1">I don't <font size="-1">want to
have to rely on MSYS or <font size="-1">cygwin as the
building of ADMB is being down as part of an automated
build process to build a larger application.</font></font></font></font>
Do you guys have any insights in to how I can correct the
Windows version of the build without having to ship 2 version<font
size="-1">s of ADMB?</font><br>
</font></font><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1"><br>
<br>
<font size="-1">Thanks,<br>
<font size="-1">Sc<font size="-1">ott.</font></font><br>
</font></font></font></font></font></font></font>
</body>
</html>