c - Can't run opengl program in other computers.. compiled by Visual Studio 2010 -


ok, want run simple opengl program i've written, on other computers. can run on machine. doesn't give errors. when run on other computer says "cannot start application because msvcr100.dll not found" what's problem? or maybe i'm doing wrong?

  • i tried both compilations on visual studio 2010, debug , release.
  • executable have been shipped glut32.dll in same directory

msvcr100.dll c runtime associated visual studio 2010. in order run successfully, other computer needs copy of runtime dll. can either installing visual studio 2010 on (not recommended), or installing microsoft visual c++ 2010 redistributable package (recommended).

note must compile program in release mode, not debug mode—a debug build links against debug version of c runtime, microsoft make redistributable package. illegal redistribute debug runtime dlls, if want distribute software , able run anywhere, need link against release runtime libraries.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -