473,668 Members | 2,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

when I compile my project setting, there are many LINK errors

when I compile my project setting, there are many LINK
errors. But when I compile my project under debug setting,
everything is OK. How can I deal with it?
The errors is followed.

Linking...
LIBCMT.lib(crt0 dat.obj) : error LNK2005: _exit already
defined in msvcrt.lib(MSVC R71.dll)
LIBCMT.lib(crt0 dat.obj) : error LNK2005: __exit already
defined in msvcrt.lib(MSVC R71.dll)
LIBCMT.lib(crt0 dat.obj) : error LNK2005: __cexit already
defined in msvcrt.lib(MSVC R71.dll)
LIBCMT.lib(crt0 dat.obj) : error LNK2005: __c_exit already
defined in msvcrt.lib(MSVC R71.dll)
LIBCMT.lib(crt0 init.obj) : error LNK2005: ___xc_z already
defined in msvcrt.lib(cini texe.obj)
LIBCMT.lib(crt0 init.obj) : error LNK2005: ___xc_a already
defined in msvcrt.lib(cini texe.obj)
LIBCMT.lib(crt0 init.obj) : error LNK2005: ___xi_z already
defined in msvcrt.lib(cini texe.obj)
LIBCMT.lib(crt0 init.obj) : error LNK2005: ___xi_a already
defined in msvcrt.lib(cini texe.obj)
LIBCMT.lib(winx fltr.obj) : error LNK2005: __XcptFilter
already defined in msvcrt.lib(MSVC R71.dll)
LIBCMT.lib(strf time.obj) : error LNK2005: _strftime
already defined in msvcrt.lib(MSVC R71.dll)
LIBCMT.lib(_cty pe.obj) : error LNK2005: _isalnum already
defined in msvcrt.lib(MSVC R71.dll)
msvcrt.lib(MSVC R71.dll) : error LNK2005: __setmbcp already
defined in LIBCMT.lib(mbct ype.obj)
LINK : warning LNK4098: defaultlib 'msvcrt.lib' conflicts
with use of other libs; use /NODEFAULTLIB:li brary
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with
use of other libs; use /NODEFAULTLIB:li brary
....\Release/ImageDynamic.ex e : fatal error LNK1169: one or
more multiply defined symbols found

Build log was saved
at "file://e:\net\Obj\Rele ase\ImageWorks\ BuildLog.htm"
ImageWorks - 13 error(s), 2 warning(s)

Jul 21 '05 #1
0 1631

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

Similar topics

4
4121
by: David Kantowitz | last post by:
I am trying to wrap a native-C++ DLL in managed C++, to use in a .NET project. The native code is compiled into a DLL, and I have created a .def file that exports the mangled names of the symbols I am going to use from the wrapper library. The wrapper library has the code written that uses the native classes, and wraps them to present an equivalent of their interface for .NET.
2
5731
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project in debug mode, the following errors happened: d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2365: 'new' : redefinition; previous definition was a 'member function' d:\Program Files\Microsoft Visual Studio...
0
250
by: Xiaofeng Zhang | last post by:
when I compile my project setting, there are many LINK errors. But when I compile my project under debug setting, everything is OK. How can I deal with it? The errors is followed. Linking... LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrt.lib(MSVCR71.dll) LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit already defined in msvcrt.lib(MSVCR71.dll)
0
1082
by: Julian | last post by:
I upgraded this program from VC6 to .NET2003 a few months back. I had to change some of the source code, but I was finally able to get it to compile and link properly. I just tried to upgrade the same code from .NET2003 to .NET2005 and again I had to make some code changes (basically had to do with looping scope and defining operator function return types)... so, now I am able to compile all the files, but when it tries to compile, I get...
0
1757
by: Ramesh2006 | last post by:
Hi, The following error occurred when i programmatically compile another project from my present project. The Error: error CS0234:The type or namespace name 'Windows' does not exist in the namespace 'System' <are you missing an assembly reference> The Source Code:
5
1517
by: Torben Laursen | last post by:
Hi Often I just want to compile one c++ file in a project the check it for errors. Now I can right click on a *.cpp file and select "Compile" But is there a way and short cut to compile a file of any type. luke *.cc, *.h, *hpp Thanks Torben
0
1527
by: fabioraciti | last post by:
I try to compile a project built using VC++6 in VC++ 2005 and got following errors when trying to build the project after clearing out all the other errors in *.CPP file: error C2248: 'CObject::CObject': cannot access private member declared in class 'CObject' file c:\programmi\microsoft visual studio 8\vc\atlmfc\include \afx.h(553) : see declaration of 'CObject::CObject' c:\programmi\microsoft visual studio...
1
1455
by: John Dalberg | last post by:
I am migrating a web site project to a web application project as indicated at this page: http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx However when I try to compile, I get a lot of type 'xxxxxxxxx' is not defined errors. It seems classes in the project are not getting compiled in the project even when they are present in the solution explorer. When I inspected the vbproj file, I noticed that many .vb files are in an...
4
1392
by: Dean Slindee | last post by:
I have a project with many References to other projects of mine (data access layer projects, for instance). When I compile a data access layer project, the Reference in the parent project goes stale (yellow icon) when the parent project is concurrently open (two VS instances). I have been manually deleting the stale Reference and re-adding the Reference in the concurrently open parent project. Is this manual process necessary, or will...
0
8367
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
8790
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8570
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
8650
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
7391
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
6206
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
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2781
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.