473,726 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 ___CxxCallUnwin dDtor(void (__clrcall*)(vo id *),void *)"
(?___CxxCallUnw indDtor@@$$J0YM XP6MXPAX@Z0@Z) referenced in function "public:
virtual __thiscall std::logic_erro r::~logic_error (void)"
(??1logic_error @std@@$$FUAE@XZ ) IPCMessageServe r.obj
Error 2 error LNK2028: unresolved token (0A0002E3) "public: __thiscall
std::exception: :exception(clas s std::exception const &)"
(??0exception@s td@@$$FQAE@ABV0 1@@Z) referenced in function "public:
__thiscall std::runtime_er ror::runtime_er ror(class std::runtime_er ror const
&)" (??0runtime_err or@std@@$$FQAE@ ABV01@@Z) IPCMessageServe r.obj
Error 3 error LNK2020: unresolved token (0A0002E4) "const
type_info::`vft able'" (??_7type_info@ @6B@) IPCMessageServe r.obj
Error 4 error LNK2028: unresolved token (0A0002E9) "void __clrcall `eh
vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(vo id
*))" (??_M@$$FYMXPAX IHP6MX0@Z@Z) referenced in function "public: virtual
void * __thiscall std::logic_erro r::`vector deleting destructor'(uns igned
int)" (??_Elogic_erro r@std@@$$FUAEPA XI@Z) IPCMessageServe r.obj
Error 5 error LNK2028: unresolved token (0A0002EA) "public: virtual
__thiscall std::exception: :~exception(voi d)" (??1exception@s td@@$$FUAE@XZ)
referenced in function "public: virtual __thiscall
std::logic_erro r::~logic_error (void)" (??1logic_error @std@@$$FUAE@XZ )
IPCMessageServe r.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_erro r::`vector deleting destructor'(uns igned
int)" (??_Elogic_erro r@std@@$$FUAEPA XI@Z) IPCMessageServe r.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_erro r::`vector deleting destructor'(uns igned
int)" (??_Elogic_erro r@std@@$$FUAEPA XI@Z) IPCMessageServe r.obj
Error 8 error LNK2001: unresolved external symbol "?.cctor@@$$FYM XXZ"
(?.cctor@@$$FYM XXZ) Stdafx.obj
Error 9 error LNK2001: unresolved external symbol "?.cctor@@$$FYM XXZ"
(?.cctor@@$$FYM XXZ) AssemblyInfo.ob j
Error 10 error LNK2001: unresolved external symbol "?.cctor@@$$FYM XXZ"
(?.cctor@@$$FYM XXZ) AssemblyInfo.ob j
Error 11 error LNK2001: unresolved external symbol "?.cctor@@$$FYM XXZ"
(?.cctor@@$$FYM XXZ) IPCMessageServe r.obj
Error 12 error LNK2001: unresolved external symbol "?.cctor@@$$FYM XXZ"
(?.cctor@@$$FYM XXZ) IPCMessageServe r.obj
Error 13 error LNK2019: unresolved external symbol "extern "C" void
__clrcall ___CxxCallUnwin dDtor(void (__clrcall*)(vo id *),void *)"
(?___CxxCallUnw indDtor@@$$J0YM XP6MXPAX@Z0@Z) referenced in function "public:
virtual __thiscall std::logic_erro r::~logic_error (void)"
(??1logic_error @std@@$$FUAE@XZ ) IPCMessageServe r.obj
Error 14 error LNK2019: unresolved external symbol "public: virtual
__thiscall std::exception: :~exception(voi d)" (??1exception@s td@@$$FUAE@XZ)
referenced in function "public: virtual __thiscall
std::logic_erro r::~logic_error (void)" (??1logic_error @std@@$$FUAE@XZ )
IPCMessageServe r.obj
Error 15 error LNK2001: unresolved external symbol "const
type_info::`vft able'" (??_7type_info@ @6B@) IPCMessageServe r.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_erro r::`vector deleting destructor'(uns igned
int)" (??_Elogic_erro r@std@@$$FUAEPA XI@Z) IPCMessageServe r.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_erro r::`vector deleting destructor'(uns igned
int)" (??_Elogic_erro r@std@@$$FUAEPA XI@Z) IPCMessageServe r.obj
Error 18 error LNK2019: unresolved external symbol "void __clrcall `eh
vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(vo id
*))" (??_M@$$FYMXPAX IHP6MX0@Z@Z) referenced in function "public: virtual
void * __thiscall std::logic_erro r::`vector deleting destructor'(uns igned
int)" (??_Elogic_erro r@std@@$$FUAEPA XI@Z) IPCMessageServe r.obj
Error 19 error LNK2019: unresolved external symbol "public: __thiscall
std::exception: :exception(clas s std::exception const &)"
(??0exception@s td@@$$FQAE@ABV0 1@@Z) referenced in function "public:
__thiscall std::runtime_er ror::runtime_er ror(class std::runtime_er ror const
&)" (??0runtime_err or@std@@$$FQAE@ ABV01@@Z) IPCMessageServe r.obj
Error 20 error LNK2001: unresolved external symbol "public: virtual char
const * __thiscall std::exception: :what(void)cons t "
(?what@exceptio n@std@@UBEPBDXZ ) IPCMessageServe r.obj
Apr 3 '06 #1
0 4885

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

Similar topics

4
8110
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: /link /nodefaultlib:libc /nodefaultlib:libcmt /nodefaultlib:libcd My compile gets three unresolved externals: Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\kernel32.lib: Searching c:\mbs7\sys\lib\expbin\minofuncs.lib:
6
5348
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. I'm in charge of evaluating whether we want to migrate it to VS2005 (the previous migration from 6.0 to 7.1 was a pain). So far, things do not look good. I installed VS2005 on a VM, copied the sources over and tried to build the solution.
3
4374
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 closely as possible, yet I'm getting odd linking errors. I think I've traced it to some kind of problem with the SDL libraries it uses, yet I can't explain why it will compile from the makefile and not from the IDE. I have made sure that the ide...
2
5710
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 LNK2020 LNK2028. Below is a little bit of the error report. Error 34 error LNK2020: unresolved token (0A000029) "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@$$FQAE@XZ) UnmanagedResiprocateController.obj
4
2631
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 success by running: gcc -lz -o foo.exe foo.c (where -lz is a link to 'z' or libz.a) I've placed zlib.h and zconf.h in the VC include folder, and libz.a and libz.so in the lib folder.
4
5271
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 it's just a suggestion of where to look or something that might work.
2
12308
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 c:\mypath\myModule.exp Class1.obj : error LNK2001: unresolved external symbol __imp___CrtDbgReportW Class2.obj : error LNK2001: unresolved external symbol __imp___CrtDbgReportW Class3.obj : error LNK2019: unresolved external symbol...
2
2728
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 source pro 9. My application heavily uses RW tools through wrapper classes on the top existing RW classes. RW libraries were built using gcc on linux platform and standalong RW examples are working fine. Since the application compilation is moving...
0
1160
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 VS2005 or is there a website that discusses it (I have Googled for days). See errors commented by code line. I have this in Program.cs class: namespace BooksAuthors { static class Program { // The main entry point for the application.
0
8752
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9402
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9182
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9120
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8101
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4785
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.