Setting up SDL for g++
Last Updated 6/14/11
1)Create a source file with the following code:
#include "SDL/SDL.h"
int main( int argc, char* args[] )
{
//Start SDL
SDL_Init( SDL_INIT_EVERYTHING );
//Quit SDL
SDL_Quit();
return 0;
}
2)Then type at the command line: