Original Post
Hi, anyone know whats going on with these errors?
DirectX Programmer
Soon to be the new Bill Gates
Linking... LIBCD.lib(crt0dat.obj) : error LNK2005: __cinit already defined in LIBCMTD.lib(crt0dat.obj) LIBCD.lib(crt0dat.obj) : error LNK2005: _exit already defined in LIBCMTD.lib(crt0dat.obj) LIBCD.lib(crt0dat.obj) : error LNK2005: __exit already defined in LIBCMTD.lib(crt0dat.obj) LIBCD.lib(crt0dat.obj) : error LNK2005: __cexit already defined in LIBCMTD.lib(crt0dat.obj) LIBCD.lib(crt0dat.obj) : error LNK2005: __c_exit already defined in LIBCMTD.lib(crt0dat.obj) LIBCD.lib(crt0dat.obj) : error LNK2005: __C_Exit_Done already defined in LIBCMTD.lib(crt0dat.obj) ... LIBCD.lib(crt0dat.obj) : warning LNK4006: __winver already defined in LIBCMTD.lib(crt0dat.obj); second definition ignored LIBCD.lib(crt0dat.obj) : warning LNK4006: __osver already defined in LIBCMTD.lib(crt0dat.obj); second definition ignored LIBCD.lib(crt0dat.obj) : warning LNK4006: __umaskval already defined in LIBCMTD.lib(crt0dat.obj); second definition ignored Creating library Debug/ObjectCore.lib and object Debug/ObjectCore.exp LINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other libs; use /NODEFAULTLIB:library Debug/ObjectCore.dll : fatal error LNK1169: one or more multiply defined symbols found Error executing link.exe. ObjectCore.dll - 23 error(s), 23 warning(s)I''ve got a couple of helper librarys i made: CFMath.lib which is a pile of math functions and classes, and DXUtil.lib which is full of D3D classed like CTexture and CMatrixStack. DXUtil.lib uses math functions from CFMath.lib, so if you want to incluse DXUtil.lib, you also need CFMath.lid, d3d8.lib and dxguid.lib. [random guess] LIBCMTD - does the ''MT'' bit stand for Muti-Threaded? I''m not using multi-threading, and i haven''t touched any options for it in any of the projects. [/random guess] I''m using MSVC - although you can probably tell that from the errors. Thanks for any help, Steve Steve
DirectX Programmer
Soon to be the new Bill Gates