c++ - MSVCR100D.dll is missing when build/running project from another PC/VS -


i uploaded (vs2013) project folder , provided other members of team, when tried build/run it, using visual studio 2012 got error, happened on version of visual studio 2013.

the program can't start because msvcr100d.dll missing computer. try reinstalling  program fix problem. 

they reinstalled vs2010 no go.

i tried statically link project using /mt in code generation options get:

unresolved external symbol __free_dbg libcmptd.lib cout.obj 

....25 more...

how can project can build/ran on team members pc? how resolve unresolved externals? seems happen purely regular microsoft files.

you mixing c++ libraries built different versions of compiler (and know of them linked against debug dynamic version of vc10 runtime library). not supported, different compiler versions have different abis.

to fix mess need find libraries built parameters match parameters of project. should built:

  • with same compiler version (ex. vs 2013)
  • with same configuration (debug/release)
  • against same platform (x86/x64/arm)
  • against same runtime library variant (static/dynamic + debug/release)

you either try find prebuilt versions on web or build libraries source codes. often, want have multiple configuration/platforms project and, thus, need multiple versions of libraries.

if search not succeed (for example if there no vs2013 build closed source library) roll project version of compiler , start over.

any attempts link incompatible libraries if somehow succeeded lead random crashes.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -