Josh Posted September 27, 2012 Share Posted September 27, 2012 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? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted September 28, 2012 Author Share Posted September 28, 2012 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? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
wh1sp3r Posted September 30, 2012 Share Posted September 30, 2012 You can't run debug apps on other systems as it's using debug redistributable libraries. It will be only running on system with Visual studio installed ( with same toolset version ). If you need tu run it, just include toolset debug libraries with app. ( msvcXXXd.dll, etc ( 'd' in the end ) ) and it will work. You can see, different version of Visual studio is using different toolset version as libraries are newer. You can set one version everywhere, for example v100 and include debug libraries with debug exe. Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Josh Posted October 1, 2012 Author Share Posted October 1, 2012 See my blog: http://www.leadwerks...-visual-studio/ And the redistributables don't work, BTW. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.