?
Solved

Problem with Visual C++ .net

Posted on 2003-03-11
2
Medium Priority
?
363 Views
Last Modified: 2011-10-03
Hello Experts:
Today I exported my project from VC++ 6.0 to VC++ .net. When i try to build the application in Release configuration I get "LINK : fatal error LNK1104: cannot open file 'mfc42.lib' ". and when I try to build the application in debug configuration I get

libcimtd.lib(ofstream.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
libcimtd.lib(iostrini.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
libcimtd.lib(ifstream.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
.\Debug/Eyemap.exe : fatal error LNK1169: one or more multiply defined symbols found


I did not have any of these problems when I was developing in VC++ 6.0. Can somebody please tell me how to get rid of these linker errors

Kiran
 
0
Comment
Question by:gkiran
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
naveenkohli earned 150 total points
ID: 8115208
Clean all the intermediate files for you project. And recompile it from scratch. It may help.
0
 

Author Comment

by:gkiran
ID: 8120551
Thanks Naveen.
Your suggestion helped.

Kiran
0

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question