Original Post
I'm want to start working with SDL, but I need help setting it up. I'm working on Ubuntu with the CodeBlocks IDE. From what little information I was able to gather, (in Codeblocks) I went to Settings -> Compiler and Debugger -> Search Directories. Under the "Compiler" tab I wrote: /usr/include. Under the "Linker" tab I wrote: /usr/include/SDL. When I compile my program the only error I get is: undefined reference to 'SDL Function', so I think I setup the library correctly because it's not giving me the usual "no such file or directory" error, but I don't know. Can anyone explain what I did wrong (or didn't do)?