some questions about mt
"#ZHANG YAN#" <[email protected]>
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <3D565922795545468AE3E3DA2881BEA9013D70A0@mail01.student.main.ntu.edu.sg> |
Hi, the following is the link error in using MTL in Visual C++6.0 with win2000. I am using the netmat.lib I have built from the source files and header files. It seems that the reason is that the header file is included for many times. Could you plz give some comments? Thanks and Regards. --------------------Configuration: HandOff - Win32 Debug-------------------- Linking... LINK : warning LNK4076: invalid incremental status file "Debug/HandOff.ilk"; linking nonincrementally libcid.lib(ostream.obj) : error LNK2005: "public: class ostream & __thiscall ostream::operator<<(char const *)" (??6ostream@@QAEAAV0@PBD@Z) already defined in msvcirtd.lib(MSVCIRTD.dll) LIBCD.lib(dbgheap.obj) : error LNK2005: _malloc already defined in msvcrtd.lib(MSVCRTD.dll) LIBCD.lib(dbgheap.obj) : error LNK2005: _free already defined in msvcrtd.lib(MSVCRTD.dll) LIBCD.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrtd.lib(MSVCRTD.dll) LIBCD.lib(crt0dat.obj) : error LNK2005: __exit already defined in msvcrtd.lib(MSVCRTD.dll) LIBCD.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in msvcrtd.lib(cinitexe.obj) LIBCD.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in msvcrtd.lib(cinitexe.obj) LIBCD.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in msvcrtd.lib(cinitexe.obj) LIBCD.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in msvcrtd.lib(cinitexe.obj) LIBCD.lib(mbctype.obj) : error LNK2005: __setmbcp already defined in msvcrtd.lib(MSVCRTD.dll) LIBCD.lib(strcat.obj) : error LNK2005: _strcpy already defined in msvcrtd.lib(MSVCRTD.dll) LIBCD.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in msvcrtd.lib(MSVCRTD.dll) LIBCD.lib(fflush.obj) : error LNK2005: _fflush already defined in msvcrtd.lib(MSVCRTD.dll) LINK : warning LNK4098: defaultlib "msvcrtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library LINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other libs; use /NODEFAULTLIB:library LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/HandOff.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. ZHANG Yan -------------------------------------------------------------- School of Electrical & Electronic Engineering Nanyang Technological University Singapore,639798 -------------------------------------------------------------- Telephone:+65-67906954(O) Email: [email protected] [email protected] (MSN Messenger) _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/