I have checked the following things, and they all appear to have been done correctly:
Added the paths to lib and include folders to the VC++ Directories in the Options window.
Gone to the Project Properties window and: set 'Detect 64-bit Portability issues' to No, set 'Runtime Library' to 'Multi-threaded DLL(/MD), under the Linker tab added 'SDL.lib' and 'SDLmain.lib' to the Additional Dependencies and set the subsystem to 'Windows (/SUBSYSTEM:WINDOWS)'.
Placed SDL.dll in my project's directory.
The code im trying to compile to test it with is as follows, I don't think theres any problems here (SDL.h is not in a seperate folder and so does not need to be SDL/SDL.h)
Code: Select all
#include "SDL.h"
int main( int argc, char* args[] )
{
SDL_Init( SDL_INIT_EVERYTHING );
SDL_Quit();
return 0;
}