Reputation: 1308
Ok, so I want to run simple opengl program that I've written, on other computers. I can run it successfully on my machine. It doesn't give any errors. When I run it on other computer however it says "cannot start application because MSVCR100.dll was not found" What's the problem? Or maybe I'm doing something wrong?
Upvotes: 0
Views: 2760
Reputation: 400462
MSVCR100.dll is the C runtime associated with Visual Studio 2010. In order to run successfully, the other computer needs a copy of that runtime DLL. It can get it either by installing Visual Studio 2010 on it (not recommended), or installing the Microsoft Visual C++ 2010 Redistributable Package (recommended).
Note that you must compile your program in Release mode, not Debug mode—a Debug build links against the debug version of the C runtime, for which Microsoft does make a redistributable package. It is illegal to redistribute the debug runtime DLLs, so if you want to distribute your software and be able to run it anywhere, you need to link against the release runtime libraries.
Upvotes: 2