I just started trying to use SDL. I add all the files to the right folders and did the below quote:
Unfortunately, the Code::Blocks SDL wizard hasn't been updated since SDL changed its include file layout. Not your fault. To get by this, temporarily copy SDL.h up a level (from "SDL" to "include"). This is just to get the wizard to finish; you should then get rid of the copy and adjust any #include <SDL.h> to #include <SDL/SDL.h>.
I got the wizard to make the project but when I go to compile the sample code that Code Blocks supplies it says this:
It seems this project has not yet been built. Do you want to build it?
I said yes, but get this in the build log:
-------------- Build: Debug in SDL ---------------
Linking console executable: bin\Debug\SDL.exe
C:\Program Files\CodeBlocks\MinGW\bin\ld.exe: cannot open output file bin\Debug\SDL.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I'm sure there is an easy fix and I just don't know it. Thanks for you help.