Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3021

Symbols already defined (MSVCRTD.DLL)

$
0
0
Which adjustments in the compiler do I have to make in order to fix these errors?
Code:

Error        3        error LNK2005: __wassert already defined in LIBCMTD.lib(wassert.obj)        E:\Character Animation With Direct3D\Chapter 7\Example 7.1\MSVCRTD.lib(MSVCR100D.dll)        Example 7.1
Error        4        error LNK2005: _printf already defined in LIBCMTD.lib(printf.obj)        E:\Character Animation With Direct3D\Chapter 7\Example 7.1\MSVCRTD.lib(MSVCR100D.dll)        Example 7.1
Error        5        error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)        E:\Character Animation With Direct3D\Chapter 7\Example 7.1\MSVCRTD.lib(MSVCR100D.dll)        Example 7.1
Error        6        error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)        E:\Character Animation With Direct3D\Chapter 7\Example 7.1\MSVCRTD.lib(MSVCR100D.dll)        Example 7.1
Error        7        error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)        E:\Character Animation With Direct3D\Chapter 7\Example 7.1\MSVCRTD.lib(ti_inst.obj)        Example 7.1
Error        8        error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)        E:\Character Animation With Direct3D\Chapter 7\Example 7.1\MSVCRTD.lib(ti_inst.obj)        Example 7.1
Error        10        error LNK1169: one or more multiply defined symbols found        E:\Character Animation With Direct3D\Chapter 7\Example 7.1\Example 7-1.exe        1        1        Example 7.1

Thanks

Viewing all articles
Browse latest Browse all 3021

Trending Articles