This video gives detailed and practical steps to "How to install SFML in codeblocks".
You will get the sure information and will never need any help further.
The video shows the general method to build any library for the codeblocks and in general for any application with compiler.
direct download link for cmake:
https://drive.google.com/file/d/1_hep...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DONT BOTHER THE REST OF DESCRIPTION
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Technically I already made this, but I felt like I did a poor job, as many people commented with issues.
So I decided to recreate it :)
In this video, we set up SFML and CodeBlocks.
=========
DOWNLOAD SFML: https://www.sfml-dev.org/download
DOWNLOAD CODEBLOCKS: http://www.codeblocks.org/downloads/
++++++++++++++++++++++++++++++++++++++++
This is a quick video on how to install SFML to use with Codeblocks. I have tested this with SFML 2.4.2 and Codeblocks 16.01 on a Windows 10 machine. I believe the setup for a Linux-based machine will be the same. I use Xcode with SFML on Mac so I haven't tested it there yet.
Some important links and info from video:
Direct link to the correct version of SFML for Codeblocks -
https://www.sfml-dev.org/files/SFML-2...
Here is the link order for libraries (3:30 in the video):
sfml-graphics-s-d
sfml-window-s-d
sfml-audio-s-d
sfml-network-s-d
sfml-system-s-d
freetype
opengl32
jpeg
gdi32
winmm
ws2_32
openal32
flac
vorbisenc
vorbisfile
vorbis
ogg
Common Errors:
1. If you see a confusing error message that makes no sense (the error has a ton of random seeming letters in it) - that is most likely caused by having the link libraries in the wrong order, double check that they match what I have in the video.
2. Error: No such file as sfml-xxxxxxx-s-d. This is usually a spelling error...in particular make sure you didn't accidently add an "s" on the the end of the sfml-window line.