Trouble Opening Compiled Executable File

I have compiled a program I wrote into an executable file, but the file will not run on my computer. When I try to run this executable I immediately get the following error:
"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
The executable runs fine on any other computer that I have tried, but will not work on mine. I have installed and reinstalled the MCR without any success. I have tried recompiling the program several times. I even have other executable files on my computer that I have made and they all run perfectly.
Does anyone have any suggestions? Thanks.

1 Comment

Is there a possibility it is a 32 bit vs 64 bit issue?

Answers (1)

Have you used Visual Studio as your compiler? If yes, you may be missing MSVC redistributables on your computer. This is listed as a requirement on Run-Time Libraries Required for Applications Built with Microsoft Visual Studio 2008 Compiler.

This question is closed.

Asked:

on 23 Jun 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!