[ADMB Users] installation of admb on 64-bit windows 7

Certain Grégoire Gregoire.Certain at imr.no
Fri Sep 10 02:18:54 PDT 2010


Hi,

Everythink is in the title.
I tried to install it using the version
Visual C++ 2008 64-bit (executable installer<http://admb-project.googlecode.com/files/admb-9.1-windows-vc9-64bit.exe>) available at http://admb-project.org/downloads
The installation is processed, but then no commands are working. if I try to type "nmake" according to the the tutorial here is what I get:

#####################################
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
Set ADMB Home directory to C:\ADMB\Microsoft\VC9

C:\ADMB\Microsoft\VC9\examples\admb>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.

C:\ADMB\Microsoft\VC9\examples\admb>

#####################################

make or makeadm doesn't work either:

#####################################

C:\ADMB\Microsoft\VC9\examples\admb>make
'make' is not recognized as an internal or external command,
operable program or batch file.

C:\ADMB\Microsoft\VC9\examples\admb>makeadm

C:\ADMB\Microsoft\VC9\examples\admb>tpl2cpp
Error trying to open default input file admodel.tpl

C:\ADMB\Microsoft\VC9\examples\admb>call mycl.bat

C:\ADMB\Microsoft\VC9\examples\admb>cl -c /EHsc -DUSE_LAPLACE -DWIN32 -DOPT_LIB
/Ox -D__MSVC32__=8 -I. -I""\include -I"C:\ADMB\Microsoft\VC9"\include .cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

.cpp
c1xx : fatal error C1083: Cannot open source file: '.cpp': No such file or direc
tory

C:\ADMB\Microsoft\VC9\examples\admb>call linkcl.bat

C:\ADMB\Microsoft\VC9\examples\admb>cl  .obj df1b2stubo.lib admod32.lib ado32.li
b adt32.lib /link /libpath:"C:\ADMB\Microsoft\VC9"\lib /libpath:""\lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:.exe
/libpath:C:\ADMB\Microsoft\VC9\lib
/libpath:\lib
.obj
df1b2stubo.lib
admod32.lib
ado32.lib
adt32.lib
LINK : fatal error LNK1181: cannot open input file '.obj'

C:\ADMB\Microsoft\VC9\examples\admb>
#####################################

If I try to specify the path toward the directory simple and launch an example, here's what I get:

#####################################
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
Set ADMB Home directory to C:\ADMB\Microsoft\VC9

C:\ADMB\Microsoft\VC9\examples\admb>cd c:\ADMB\Microsoft\VC9\examples\admb\simpl
e

c:\ADMB\Microsoft\VC9\examples\admb\simple>makeadm simple

c:\ADMB\Microsoft\VC9\examples\admb\simple>tpl2cpp simple
xxglobal.tmp
xxhtop.tmp
header.tmp
xxalloc.tmp
xxtopm.tmp
        1 file(s) copied.

c:\ADMB\Microsoft\VC9\examples\admb\simple>call mycl.bat simple

c:\ADMB\Microsoft\VC9\examples\admb\simple>cl -c /EHsc -DUSE_LAPLACE -DWIN32 -DO
PT_LIB /Ox -D__MSVC32__=8 -I. -I""\include -I"C:\ADMB\Microsoft\VC9"\include sim
ple.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

simple.cpp

c:\ADMB\Microsoft\VC9\examples\admb\simple>call linkcl.bat simple

c:\ADMB\Microsoft\VC9\examples\admb\simple>cl  simple.obj df1b2stubo.lib admod32
.lib ado32.lib adt32.lib /link /libpath:"C:\ADMB\Microsoft\VC9"\lib /libpath:""\
lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:simple.exe
/libpath:C:\ADMB\Microsoft\VC9\lib
/libpath:\lib
simple.obj
df1b2stubo.lib
admod32.lib
ado32.lib
adt32.lib
ado32.lib(gradstrc.obj) : fatal error LNK1112: module machine type 'x64' conflic
ts with target machine type 'X86'

c:\ADMB\Microsoft\VC9\examples\admb\simple>

So, I'm only an advanced user of R. Unfortunately, I'm a beginner in C++ and I guess that's why I can't go further. I would be pleased to be able to work with "the most powerful software package for the development of state-of-the-art nonlinear models". Is there some new tutorial that could help me ?

All the best,
Grégoire.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100910/f55ada02/attachment.html>


More information about the Users mailing list