Hi and thanks for reading this. I have been trying to get SDL working with Codelite with out success. SDL installed no problem and when I run sdl -config --version it gives me 1.2.13, which is correct. Below is a copy of the code I am trying to run. When I compile, 2 errors appear. The first is that SDL_Init cannot be found, the second is that SDL_Quit cannot be found. I am still a novice linux user and would appreciate any help.
I purposely put in “SDL/SDL_video.h” to try and force it to see this file and hopefully solve the problem, it didn’t. I am running the latest version of Codelite. Again, if anyones got a better way of doing this, please let me know. Thanks!
int main( int argc, char* args )
SDL_Init( SDL_INIT_EVERYTHING );