Thursday, February 9, 2012

SDL Setting in Code Blocks


How many of you had losses hours of times and looked no. of site to set of SDL Graphic library in code block id with gcc-gnu compiles.But its take only minute to set up if you have certain header file and lib file.
First download file uploaded Here.
Then extract it and copy all header file inside include folder and paste on include folder located inside C:\Program Files\CodeBlocks\MinGW\include (I haved installed it in c: inside program file)
and copy all file inside lib folder to lib folder of C:\Program Files\CodeBlocks\MinGW\lib and also on C:\Windows\System32 for 32 bit operating system.If you had used 64 bit os then paste it on C:\Windows\System64 also.
Now your SDL Setting had been completed.For linker setting and environment setting follow lazyfoo.net (Tutorial->Setting up SDL)

No comments:

Post a Comment