[ADMB Users] Looking for help~

wangwendi wangwendi at ncic.ac.cn
Thu Jun 4 21:49:06 PDT 2009


Hi:

I received the following link conflicts, when I was building examples from ADMB.
How can I solve it? Thanks for help.
 
E:\Tools\admb-9.0.202-win32-vc8\examples\admb\buscycle>cl  ham4.obj df1b2stubo.lib admod32.lib ado32.lib adt32.lib /link /libpath:"E:\Tools\admb-9.0.202-win32-vc8"\lib /libpath:""\lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.
/out:ham4.exe
/libpath:E:\Tools\admb-9.0.202-win32-vc8\lib
/libpath:\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 at _Mutex@std@@QAEXXZ) already defined in ado32.lib(vgamdev.obj
)
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_
Unlock(void)" (?_Unlock at _Mutex@std@@QAEXXZ) already defined in ado32.lib(vgamdev
.obj)
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Locki
t(int)" (??0_Lockit at std@@QAE at H@Z) already defined in ado32.lib(vgamdev.obj)
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lock
it(void)" (??1_Lockit at std@@QAE at XZ) already defined in ado32.lib(vgamdev.obj)
LINK : fatal error LNK1104: cannot open file 'libcp.lib'
NMAKE : fatal error U1077: 'E:\Tools\admb-9.0.202-win32-vc8\bin\makeadm.BAT' : r
eturn code '0x2'
Stop.
E:\Tools\admb-9.0.202-win32-vc8\examples\admb>

2009-06-05 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20090605/891faf76/attachment.html>


More information about the Users mailing list