Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

Error LNK2005

Need help resolving these compiling errors.  They all seem to be from the same library.

Error      9      fatal error LNK1169: one or more multiply defined symbols found      c:\Projects\UnityExtProperty\Debug\UnityExtProperty.dll      1
Error      1      error LNK2005: _DllMain@12 already defined in basesnap.obj      uafxcwd.lib
Error      5      error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in LIBCMTD.lib(delete2.obj)      uafxcwd.lib
Error      7      error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already defined in basesnap.obj      uafxcwd.lib
Error      3      error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj)      uafxcwd.lib
Error      8      error LNK2005: "void * __cdecl operator new[](unsigned int,int,char const *,int)" (??_U@YAPAXIHPBDH@Z) already defined in LIBCMTD.lib(dbgnew.obj)      uafxcwd.lib
Error      4      error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in LIBCMTD.lib(new2.obj)      uafxcwd.lib
Error      6      error LNK2005: "void * __cdecl operator new(unsigned int,int,char const *,int)" (??2@YAPAXIHPBDH@Z) already defined in LIBCMTD.lib(dbgnew.obj)      uafxcwd.lib
Error      2      error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)      uafxcwd.lib




--
Thanks.
Avatar of NickGeorghiou
NickGeorghiou
Flag of Australia image

Again I think you might be trying to link libraries that are built with multi-threaded option to libraries with single-thread option...
ASKER CERTIFIED SOLUTION
Avatar of NickGeorghiou
NickGeorghiou
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial