If you have placed SDL.dll under C:Windowssystem32
or SysWOW64
like the tutorial says, doing this may work:
Download SDL.dll (Runtime Libraries > Win32, not the 64-bit version*) and place it in the project folder where the .exe file is located.
E.g. if the project location is C:myproject
, place the SDL.dll at C:myprojectDebug
.
Then you can remove SDL.dll from system32
or SysWOW64
. This can also prevent version conflicts, like the tutorial suggests.
*) I'm on 64-bit Windows 7, and the 64-bit version of SDL.dll didn't work for me.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…