There are few simple steps to setup SDL (Simple Directmedia Layer) in Code::Blocks and GCC MinGW Compiler. First of all make sure that Code::Blocks IDE is installed on your system properly. Follow the following procedure to setup SDL.
Read more »
- Download SDL from http://www.libsdl.org/release/SDL-1.2.14-win32.zip .
- Decompress the archive.
- Copy SDL.dll from inside the bin folder to the your compilers bin directory (ie C:\Mingw\bin) This allows the compiler to find the dll at runtime time without having to put it in the same folder as your program or in the windows folder.
- Make a folder with name SDL in our C drive. Then copy lib and include folder from decompressed folder to SDL.
- Now open your Code::Blocks IDE.
- In start window, there you see a link for creating a new project
تعليقات: 0
إرسال تعليق