Updated to VS2005, now linking errors

A

Adam Clauss

I have managed C++ library (is bridging between a Win32 .dll and a C#
application).

All was well when compiled under VS2003, but I am running into a series of
linking errors when compiling against VS2005. They all/mostly seem to be
within the STL. Any idea what might cause something like this?

Linking errors follow.

---
Adam Clauss



Error 1 error LNK2028: unresolved token (0A000008) "extern "C" void
__clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)"
(?___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public:
virtual __thiscall std::logic_error::~logic_error(void)"
(??1logic_error@std@@$$FUAE@XZ) IPCMessageServer.obj
Error 2 error LNK2028: unresolved token (0A0002E3) "public: __thiscall
std::exception::exception(class std::exception const &)"
(??0exception@std@@$$FQAE@ABV01@@Z) referenced in function "public:
__thiscall std::runtime_error::runtime_error(class std::runtime_error const
&)" (??0runtime_error@std@@$$FQAE@ABV01@@Z) IPCMessageServer.obj
Error 3 error LNK2020: unresolved token (0A0002E4) "const
type_info::`vftable'" (??_7type_info@@6B@) IPCMessageServer.obj
Error 4 error LNK2028: unresolved token (0A0002E9) "void __clrcall `eh
vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void
*))" (??_M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual
void * __thiscall std::logic_error::`vector deleting destructor'(unsigned
int)" (??_Elogic_error@std@@$$FUAEPAXI@Z) IPCMessageServer.obj
Error 5 error LNK2028: unresolved token (0A0002EA) "public: virtual
__thiscall std::exception::~exception(void)" (??1exception@std@@$$FUAE@XZ)
referenced in function "public: virtual __thiscall
std::logic_error::~logic_error(void)" (??1logic_error@std@@$$FUAE@XZ)
IPCMessageServer.obj
Error 6 error LNK2028: unresolved token (0A0002F3) "void __cdecl operator
delete[](void *)" (??_V@$$FYAXPAX@Z) referenced in function "public: virtual
void * __thiscall std::logic_error::`vector deleting destructor'(unsigned
int)" (??_Elogic_error@std@@$$FUAEPAXI@Z) IPCMessageServer.obj
Error 7 error LNK2028: unresolved token (0A0002F4) "void __cdecl operator
delete(void *)" (??3@$$FYAXPAX@Z) referenced in function "public: virtual
void * __thiscall std::logic_error::`vector deleting destructor'(unsigned
int)" (??_Elogic_error@std@@$$FUAEPAXI@Z) IPCMessageServer.obj
Error 8 error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"
(?.cctor@@$$FYMXXZ) Stdafx.obj
Error 9 error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"
(?.cctor@@$$FYMXXZ) AssemblyInfo.obj
Error 10 error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"
(?.cctor@@$$FYMXXZ) AssemblyInfo.obj
Error 11 error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"
(?.cctor@@$$FYMXXZ) IPCMessageServer.obj
Error 12 error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"
(?.cctor@@$$FYMXXZ) IPCMessageServer.obj
Error 13 error LNK2019: unresolved external symbol "extern "C" void
__clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)"
(?___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public:
virtual __thiscall std::logic_error::~logic_error(void)"
(??1logic_error@std@@$$FUAE@XZ) IPCMessageServer.obj
Error 14 error LNK2019: unresolved external symbol "public: virtual
__thiscall std::exception::~exception(void)" (??1exception@std@@$$FUAE@XZ)
referenced in function "public: virtual __thiscall
std::logic_error::~logic_error(void)" (??1logic_error@std@@$$FUAE@XZ)
IPCMessageServer.obj
Error 15 error LNK2001: unresolved external symbol "const
type_info::`vftable'" (??_7type_info@@6B@) IPCMessageServer.obj
Error 16 error LNK2019: unresolved external symbol "void __cdecl operator
delete(void *)" (??3@$$FYAXPAX@Z) referenced in function "public: virtual
void * __thiscall std::logic_error::`vector deleting destructor'(unsigned
int)" (??_Elogic_error@std@@$$FUAEPAXI@Z) IPCMessageServer.obj
Error 17 error LNK2019: unresolved external symbol "void __cdecl operator
delete[](void *)" (??_V@$$FYAXPAX@Z) referenced in function "public: virtual
void * __thiscall std::logic_error::`vector deleting destructor'(unsigned
int)" (??_Elogic_error@std@@$$FUAEPAXI@Z) IPCMessageServer.obj
Error 18 error LNK2019: unresolved external symbol "void __clrcall `eh
vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void
*))" (??_M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual
void * __thiscall std::logic_error::`vector deleting destructor'(unsigned
int)" (??_Elogic_error@std@@$$FUAEPAXI@Z) IPCMessageServer.obj
Error 19 error LNK2019: unresolved external symbol "public: __thiscall
std::exception::exception(class std::exception const &)"
(??0exception@std@@$$FQAE@ABV01@@Z) referenced in function "public:
__thiscall std::runtime_error::runtime_error(class std::runtime_error const
&)" (??0runtime_error@std@@$$FQAE@ABV01@@Z) IPCMessageServer.obj
Error 20 error LNK2001: unresolved external symbol "public: virtual char
const * __thiscall std::exception::what(void)const "
(?what@exception@std@@UBEPBDXZ) IPCMessageServer.obj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top