Reputation: 211
I have been working on a project using OpenCV and have made a face detection project.
I would like to know why does an executable created using Visual Studio 2008 not run on another pc and give the following error: "This application has failed to start because the application configuration is incorrect"
Upvotes: 0
Views: 432
Reputation: 29889
You need to install Microsoft Visual C++ 2008 Redistributable Package on the machines you are deploying your application first - http://www.microsoft.com/download/en/details.aspx?id=29
The Microsoft Visual C++ 2008 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed.
Another thing to note is you will have to take the binary from Release build (not Debug.) The Debug build wouldn't run on the deployment machine even if the VC++ Runtime is installed.
Upvotes: 0
Reputation: 9124
Perhaps you need the Visual C++ Runtime package installed.
Available for download .... here
Upvotes: 2