[ADMB Users] VC++ Express 2008

John Ancheta jnancheta at gmail.com
Thu Jan 22 11:40:26 PST 2009


try looking at

http://admb-project.org/documentation/admb-installation-visual-c



On Jan 22, 8:45 am, "Morrison, Bruce (MNR)"
<bruce.morri... at ontario.ca> wrote:
> Hello ADMB Users:
>
> I am new to this group but not new to using ADMB. However, I recently
> had Microsoft Visuall C++ Express 2008 installed on a laptop and I have
> not used ADMB for a year or so.
>
> I put the admb-9.0.65-win32-vc7.zip files and folders in C drive.
>
> I tried to set up my first win 32 console project for a catch at age
> model that worked in Visual Studio.Net  (VC7).  I suspect I need to
> change something in the linker properties but I am not sure.
>
> My preprocessor definitions  are WIN32,
> DEBUG,_CONSOLE,__MSVC32__=9,OPT_LIB
>
> Dependencies are admod32.lib adt32.lib ado32.lib
>
> here is  a portion of the build output
>
> 1>------ Build started: Project: whitefish2006, Configuration: Debug
> Win32 ------
>
> 1>Compiling...
>
> 1>whitefish2006.cpp
>
> 1>Compiling manifest to resources...
>
> 1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
>
> 1>Copyright (C) Microsoft Corporation. All rights reserved.
>
> 1>Linking...
>
> 1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class
> std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
> std::basic_ostream<char,struct std::char_traits<char>>::operator<<(class std::basic_ostream<char,struct
>
> std::char_traits<char> > & (__cdecl*)(class
> std::basic_ostream<char,struct std::char_traits<char> > &))"
> (??6?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEAAV01 at P6AAAV01@AAV01
> @@Z at Z) already defined in admod32.lib(model7.obj)
>
> 1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: class
> std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
> std::basic_ostream<char,struct std::char_traits<char>>::operator<<(int)"
>
> (??6?$basic_ostream at DU?$char_traits at D@std@@@std@@QAEAAV01 at H@Z) already
> defined in admod32.lib(model.obj)
>
> .1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: void __thiscall
> std::basic_streambuf<char,struct std::char_traits<char>>::_Unlock(void)"
>
> (?_Unlock@?$basic_streambuf at DU?$char_traits at D@std@@@std@@QAEXXZ) already
> defined in admod32.lib(model7.obj)
>
> 1>LINK : fatal error LNK1104: cannot open file 'libcp.lib'
>
> 1>Build log was saved at "file://c:\Documents and
> Settings\morrisonbr2\My Documents\Toughboolk\Lake Ontario\Whitefish
> 2006\whitefish2006\whitefish2006\Debug\BuildLog.htm"
>
> 1>whitefish2006 - 25 error(s), 0 warning(s)
>
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> ==========
>
> Thanks
>
> Bruce
>
> _______________________________________________
> Users mailing list
> Us... at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list