SFML 2.0 crashes in code::blocks

I had this problem and it took me a while to find the solution so i thought i would let everyone know how to get it to work.

1. download it from: http://www.sfml-dev.org/download.php

2. do setup tutorial tells you to

3. run a sample program and see if it works

4. if it crashes when you run the program then download a nightly build from here: http://en.sfml-dev.org/forums/index.php?topic=9513.0

5. go back to step 2
Topic archived. No new replies allowed.