Visual C++ 2008 debug programs can't run

Community Forums/General Help/Visual C++ 2008 debug programs can't run

JoshK(Posted 2012) [#1]
When I run a Visual Studio 2008 program build with debugging enabled on Windows 7 64-bit without Visual Studio 2008 installed, I get the following error:
"The application has failed to start because its side-by-side configuration is incorrect."


I tried installing the Visual Studio 2008 and Visual Studio 2008 SP1 redistributable packages for both x86 and x64, restarting between each, and it made no difference.

How the hell are you supposed to make a simple program run on Windows?


JoshK(Posted 2012) [#2]
Okay, you just have to go into project properties > C++ > Code Generation, and for "Runtime Library" you choose "Multi-threaded Debug (/MTd)" or "Multi-threaded (/MT)". The reason this did not work for me before is because I had a static library for FreeType that was using the DLL runtime library.

I have no idea why installing the Redistributable Package didn't work.

Is the same issue as when Visual Studio 2010 executables don't work without an additional package installed on Windows XP? Can it be worked around in the same manner using Visual Studio 2010 or 2012?