Author Topic: installing SDL  (Read 1615 times)

Offline unclereg

  • Multiple posting newcomer
  • *
  • Posts: 20
installing SDL
« on: June 29, 2016, 12:56:58 pm »
I have downloadded SDL and unzipped it but the instructions in the tut i'm following
 here http://www.cprogramming.com/tutorial/sdl/setup.html  has a different view
 of the codeblocks main folder ... I don't have the include folder, to copy to, at all ....
 how do i get SDL in ?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2951
Re: installing SDL
« Reply #1 on: June 29, 2016, 11:16:29 pm »
the procedure described on this tutorial is really bad practice... Never copy files to your compiler include/lib directory...

it is more convenient to place sdl in a folder where all your libraries will be in the future... Let it in a speerate folder something like

MyFiles\programming\libraries\sdl

the start codeblocks, make a new project and select sdl as base (select sdl on the new project folder)
The wizard will ask you later the location of sdl. There enter the path where you have placed your sdl library...

PS. Search on youtube.. there are a lot video tutorials how to install codeblocks and sdl...

greetings

Offline unclereg

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: installing SDL
« Reply #2 on: June 30, 2016, 11:43:04 am »
All good ... thanks BlueHazzard.