when I compile my project , there are many LINK errors

Z

Zhang Xiaofeng

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top