473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Updated to VS2005, now linking errors

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
Apr 3 '06 #1
0 4870

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Richard MSL | last post by:
I have a command line project that I am migrating from VS2003 to VS2005. There is a combination of C, C++ and C#. When I build the project, I have this in my call to cl.exe in my batch file: ...
6
by: Alex | last post by:
Hello people, We have a large application (about 5000 source files) consisting of multiple executables, DLLs and COM components written in C++. We develop and build it in Visual Studio 2003. ...
3
by: walkeraj | last post by:
I'm trying to compile an open source game called IVAN , and I'm able to compile it from a makefile, but not from an IDE. I have attempted to recreate the way the makefile compiles the project as...
2
by: Tammam | last post by:
Hello All, I had a solution composed of managed/unmanaged C++ , C# projects. It builds with no problem in VS2003 but after converting the solution to VS2005 i get many linking errors such as...
4
by: wxforecaster | last post by:
As alluded to in my post yesterday, I'm trying to compile a common C utility in Windows. It's only reference is to zlib.h, which needs zconf.h and in turn libz.a On Unix I've compiled this with...
4
by: Franky | last post by:
I have a cpp program that use to compile in C++6 but give a bunch of errors in VS2005 I'm wondering if I need to reference to some library. I'd appreciate any helpful suggestion Even if...
2
by: 2b|!2b==? | last post by:
I am having linkage errors in my release build as ff: ------ Build started: Project: myModule, Configuration: Release Win32 ------ Linking... Creating library c:\mypath\myModule.lib and object...
2
by: pssraju | last post by:
Hi, At present application was built on solaris 9 using sun studio 9 (Sun C++ 5.6) & rouguewave sorce pro 5. We are planning to port the same application onto SuSE Linux 9.5.0 using GCC 3.3.3 & RW...
0
by: drhoades66 | last post by:
I have books, authors and a bkauthlink table linking the other two tables-a many-to-many relationship. I have tried various things but cannot create a Data Relation. Is there no way to do this in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.