Posts

Showing posts from June, 2018

How To Set Up SDL 2 In CodeBlocks On Windows

Image
Setting up SDL 2 with CodeBlocks might be a real pain unless you know the right way to do it. When I first started working with SDL 2 I had to suffer a lot. Many an hour was spent on researching how to fix the errors shown by the CodeBlocks IDE (Integrated Development Environment). I HAD NO CLUE! But, I've learned it the hard way and I'm writing this blog so that you may set up Simple DirectMedia Layer conveniently and begin creating cool applications with it. What is SDL? The full form of SDL  is Simple DirectMedia Layer .  "Simple DirectMedia Layer is a cross-platform software development library created to provide hardware abstraction layer for computer multimedia hardware components..."   Courtesy:  Wikipedia: SDL Simply put, SDL was created in order to control things like graphics, sound, keyboards, joysticks etc. It's an API (Application Program Interface) that facilitates the process of interacting with the mentioned hardware features usin