-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?

icktoofay
  • 126,289
  • 21
  • 250
  • 231
Susan Yanders
  • 854
  • 1
  • 9
  • 18

1 Answers1

0

Right-click your project, and select properties. Under C/C++, select Code Generation. In there you'll see an option for "Runtime Library". Select Multi-threaded [Debug] instead of Mutli-threaded [Debug] DLL.

enter image description here

Jonathon Reinhart
  • 132,704
  • 33
  • 254
  • 328
  • Glad I could help. Please next time try a little harder to research the problem beforehand. This issue is found many places on SO and the Internet in general. – Jonathon Reinhart May 06 '13 at 03:44