c++ - How do I statically link the Visual C runtime into my program? -


this question has answer here:

this kind of duplicate question, never got answer other posts. compile , run visual c++ programs on pc easily. when moved other computer, required dll called msvcr10.dll. how statically compile/link dll program?

right-click project, , select properties. under c/c++, select code generation. in there you'll see option "runtime library". select multi-threaded [debug] instead of mutli-threaded [debug] dll.

enter image description here


Comments