I have created an SDL game in visual Studio 2012 that I want to share with people. I've tried packaging the .exe in with all the .dll files and resources yet when it is opened on another computer I get a msvcp110.dll missing from computer error.
To fix this I read that you could install the C++ re-distributable for Visual Studio 2012 so after trying this I got a different error saying msvcp110D.dll was missing from the computer. Reading up on this people said that the solution was "The solution to this problem is to recompile all of your code and dependent libraries/dlls with the same compiler". So I tried compiling my program in visual studio C++ 2010 but now the SDL app will not load any of the textures.
This returns the error for every texture.
To fix this I read that you could install the C++ re-distributable for Visual Studio 2012 so after trying this I got a different error saying msvcp110D.dll was missing from the computer. Reading up on this people said that the solution was "The solution to this problem is to recompile all of your code and dependent libraries/dlls with the same compiler". So I tried compiling my program in visual studio C++ 2010 but now the SDL app will not load any of the textures.
Code:
//Create texture from surface pixels newTexture = SDL_CreateTextureFromSurface( gRenderer, loadedSurface );
if( newTexture == NULL )
{
printf( "Unable to create texture from %s! SDL Error: %s\n", path.c_str(), SDL_GetError() );
}