If anybody uses SFML, could you tell me how to add it to a project in code::blocks? Any technique will do.

  • 1
    \$\begingroup\$ What did you try and how did it fail? \$\endgroup\$ – Anko Aug 7 '15 at 10:18

Well, If you did a basic google search, you would find lots of answers to your question. Here is a good website to answer your question, straight from SFML itself: SFML and Code::Blocks

This is based off of windows, but I'm sure it will work for all platforms.

Hope this helps.

  • \$\begingroup\$ I have already tried everything and nothing worked. If you have used it and/or know how to add it to a project tell me how to do it. \$\endgroup\$ – arandomguy Aug 8 '15 at 17:10
  • \$\begingroup\$ @Raj which OS are you using? \$\endgroup\$ – PlatyPi Aug 8 '15 at 22:06
  • \$\begingroup\$ I am using windows 7 \$\endgroup\$ – arandomguy Aug 10 '15 at 3:40
  • \$\begingroup\$ Are you getting any errors of some sort trying to compile the program (If so, can you display them)? Or you just in general can't figure out how to link it? \$\endgroup\$ – PlatyPi Aug 10 '15 at 5:31
  • \$\begingroup\$ Another thing, do you have the correct version of SFML for code::blocks (the MinGW GCC version)? Or do you have the correct bit version of it (32-bit or 64-bit)? \$\endgroup\$ – PlatyPi Aug 10 '15 at 5:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.