visual studio 2013 - VS2013: Linker conflicts -


i have problem linker of standard windows libraries in visual studio 2013. receive following message when try build c++ project:

this error message when build platform toolset v100:

error lnk1123: failure during conversion coff: file invalid or corrupt   c:\solutions\patchmanagement\trunk\main\windows\patchmgmtagentstest\link    patchmgmtagentstest 

this error message when build platform toolset v120:

error lnk1104: cannot open file 'atlsd.lib' c:\solutions\patchmanagement\trunk\main\windows\patchmgmtagentstest\link    patchmgmtagentstest 

earlier c++ project , others c# projects in same solution written on vs2008 using .net 3.5. migrated vs2013 , .net 4.5.1.

moreover, have vs2008(where old version of same solution verify migration) , vs2010 anbother solution. have found solutions or tips first error message can appeared due .net 4.0 or greater, or due visual studios variable enviroments leads conflicts. however, cannot refuse .net 4.5.1. how can fix first or second error message in case?

the error cannot open file 'atlsd.lib' occurring because vs2013 no longer provides atlsd.lib, linking library built older version of toolset (e.g. vs2012) pulling in atlsd.lib.

solution:

  1. the tricky part find out library pulling in atlsd.lib. answered question running grep msysgit install like:

    grep atlsd *.lib

  2. then rebuild library vs2013.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -