Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Visual Studio 2008 installation issue
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sylvain Bonhommeau  
View profile  
 More options Feb 2 2009, 4:30 pm
From: Sylvain Bonhommeau <sylv...@icess.ucsb.edu>
Date: Mon, 02 Feb 2009 13:30:55 -0800
Local: Mon, Feb 2 2009 4:30 pm
Subject: [ADMB Users] Visual Studio 2008 installation issue
Hi users,

I'm trying to install ADMB on my Windows laptop but I have an problem
and I didn't succeed in fixing it.

I use Visual C++ 2008 and I followed the instructions for installation
on the ADMB docs and the website
(http://admb-project.org/documentation/admb-installation-visual-c). I'm
still stuck though...

Here is a copy paste of the prompt when running the example nmake. (The
same errors occurred when running simple or vonb scripts...).

Thanks for your help.

Cheers,

Sylvain

PS: directory used for ADMB is C:\ADMODEL and I downloaded the win32
Visual Studio 2003 version of ADMB @
http://admb-project.googlecode.com/files/admb-9.0.65-win32-vc7.zip

Setting environment for using Microsoft Visual Studio 2008 x86 tools.
C:\Program Files\Microsoft Visual Studio 9.0\VC>cd c:\ADMODEL
C:\ADMODEL>bin\admb-vc-vars.bat
Set ADMB Home directory to C:\ADMODEL

C:\ADMODEL>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.
        cd C:\ADMODEL\examples\admb\buscycle
        makeadm ham4

C:\ADMODEL\examples\admb\buscycle>tpl2cpp ham4
xxglobal.tmp
xxhtop.tmp
header.tmp
xxalloc.tmp
xxtopm.tmp
        1 fichier(s) copié(s).

C:\ADMODEL\examples\admb\buscycle>call mycl.bat ham4

C:\ADMODEL\examples\admb\buscycle>cl -c  -DUSE_LAPLACE -DWIN32 -DOPT_LIB
/Ox -D_
_MSVC32__=7 -I. -Ic:\ADMODEL\include ham4.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01
for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

ham4.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) :
warning C
4530: C++ exception handler used, but unwind semantics are not enabled.
Specify
/EHsc

C:\ADMODEL\examples\admb\buscycle>call linkcl.bat ham4

C:\ADMODEL\examples\admb\buscycle>cl  ham4.obj df1b2stubo.lib
admod32.lib ado32.
lib adt32.lib /link /libpath:c:\ADMODEL\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:ham4.exe
/libpath:c:\ADMODEL\lib
ham4.obj
df1b2stubo.lib
admod32.lib
ado32.lib
adt32.lib
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall
std::_Mutex::_
Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) already defined in
df1b2stubo.lib(df1b2s
tub.obj)
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall
std::_Mutex::_
Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) already defined in
df1b2stubo.lib(df
1b2stub.obj)
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall
std::_Lockit::_Locki
t(int)" (??0_Lockit@std@@QAE@H@Z) already defined in admod32.lib(xxmcmc.obj)
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lock
it(void)" (??1_Lockit@std@@QAE@XZ) already defined in
admod32.lib(xxmcmc.obj)
LINK : fatal error LNK1104: cannot open file 'libcp.lib'
NMAKE : fatal error U1077: 'C:\ADMODEL\bin\makeadm.BAT' : return code '0x2'
Stop.

C:\ADMODEL>

_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Ancheta  
View profile  
 More options Feb 2 2009, 6:19 pm
From: John Ancheta <jnanch...@gmail.com>
Date: Mon, 2 Feb 2009 15:19:15 -0800 (PST)
Local: Mon, Feb 2 2009 6:19 pm
Subject: Re: [ADMB Users] Visual Studio 2008 installation issue
hi,

there is a incompatible problems with using vc9(2008) or vc8(2005) to
compile and link with vc7(2003) binaries.
it may be time to make another release for ADMB which includes support
for vc9 and vc8.

stay tuned,
johnoel

On Feb 2, 11:30 am, Sylvain Bonhommeau <sylv...@icess.ucsb.edu> wrote:

_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »