Use SDL_Init() to dynamically load and initialize
the library. This function takes a set of flags
corresponding to the portions you want to activate:
SDL_INIT_AUDIO
SDL_INIT_VIDEO
SDL_INIT_CDROM
SDL_INIT_TIMER
Use SDL_Quit() to clean up the library when you
are done with it.
Tip:
SDL dynamically loads the SDL library from the standard
system library locations. Use the SDL_SetLibraryPath()
function to use an alternate location for the dynamic
libraries distributed with your application.