By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,609 Members | 3,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,609 IT Pros & Developers. It's quick & easy.

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

P: n/a
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)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __cexit already
defined in msvcrt.lib(MSVCR71.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __c_exit already
defined in msvcrt.lib(MSVCR71.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already
defined in msvcrt.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already
defined in msvcrt.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already
defined in msvcrt.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already
defined in msvcrt.lib(cinitexe.obj)
LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter
already defined in msvcrt.lib(MSVCR71.dll)
LIBCMT.lib(strftime.obj) : error LNK2005: _strftime
already defined in msvcrt.lib(MSVCR71.dll)
LIBCMT.lib(_ctype.obj) : error LNK2005: _isalnum already
defined in msvcrt.lib(MSVCR71.dll)
msvcrt.lib(MSVCR71.dll) : error LNK2005: __setmbcp already
defined in LIBCMT.lib(mbctype.obj)
LINK : warning LNK4098: defaultlib 'msvcrt.lib' conflicts
with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with
use of other libs; use /NODEFAULTLIB:library
....\Release/ImageDynamic.exe : fatal error LNK1169: one or
more multiply defined symbols found

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

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.