Does SDL2 require VC++ 2008 runtimes to distribute?

Trying to run my game .exe on another PC, i get the error asking for some old runtime.
I am using Visual C++ 2010 express.
Does SDL need it?

Resolve Partial Assembly failed for Microsoft.VC90.CRT. Reference error message: The referenced assembly is not installed on your system.

SDL2 can be built with or without a dependency on the VC++ runtime libraries. The Windows DLLs on the libsdl.org website only have a dependency on the msvcrt.dll which gets distributed with Windows itself.

You may have an sdl2.dll that someone built with a dependency on the VC++ runtime libraries. Or it could be a bogus entry in the manifest.

dumpbin.exe from the Windows SDK can show you the imports of a DLL. That’s one way to see if it actually loads functions from the runtime libraries.

1 Like

Thanks, very helpful.