-3

This is kind of a duplicate question, but I never got a good answer from the other posts. I could compile and run my visual c++ programs on my pc really easily. However when I moved it to my other computer, it required a dll called msvcr10.dll. How do I statically compile/link this dll with my program?

4

1 回答 1

0

右键单击您的项目,然后选择属性。在C/C++下,选择代码生成。在那里你会看到“运行时库”的选项。选择Multi-threaded [Debug]而不是Mutli-threaded [Debug] DLL

在此处输入图像描述

于 2013-05-06T03:37:26.070 回答