The rule is that libraries that depend on other libraries must be put first in the list. Every SFML library depends on sfml-system, and sfml-graphics also depends on sfml-window. So, the correct order for these three libraries would be: sfml-graphics, sfml-window, sfml-system - as shown in the screen capture above. Jul 08, 2017 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.
Simple Tetris game with C/SFML library. Contribute to togomi/Tetris development by creating an account on GitHub. Oct 25, 2011 Unfortunately, graphics.h is a Borland specific library and cannot be used with Dev-C. Fortunately, a benevolent soul by the name of Michael Main has modified a BGI emulation library for Windows applications to be used under MinGW (and therefore Dev-C) which he has aptly named WinBGIm. The files we need are: graphics.h.
Download SFML library from https://www.sfml-dev.org/download/sfml/2.5.1/
Create an empty Visual Studio Project
Auto tune 8.1 1. Go to Project Property Page and Select All Configurations
C/C++ > Additional Include Directories
Linker > General
Linkder > Input
Check if following code can be compiled and executed.