I have a c++ .dll project that was created in Visual Studio 2010 a few years ago. Its comprised of 4 .lib projects and 1 .dll project. Everything is statically linked so as to not require redistributables to be deployed on the host machine. Its been maintained over the years but we'd like to update all our compilers to Visual Studio 2015. Never as easy as it sounds.
I've opened the solution file in Visual Studio 2015 and it performed a quick conversion I suppose. However, when I build, I get these 2 errors.
LNK2005 ___report_gsfailure already defined in EasyHook32.lib(gs_report.obj) .....\LIBCMT.lib(gs_report.obj)
LNK1169 one or more multiply defined symbols found
So, I suppose my biggest question is, how can upgrading from VS2010 to VS2015 magically cause a link error all of a sudden? Also, how can I resolve this link issue?