So I just start learning to use SFML(Library for game development) and I want to use it withing Atom.
I’ve install mingw, SFML2.5.1 (I use the version that’s compatible with VS 15++ 32-bits), and I’ve also install the “SFML-compiler” package in Atom and set it up as well.
I’ve faced the error message when I’d tried to run the example code from the SFML website. The message is the following,
C:\Users\Predator\Desktop\Coding\Code\SFML_Atom\TestOnAtom.cpp:1:10: fatal error: SFML/Graphics.hpp: No such file or directory
#include <SFML/Graphics.hpp>//Can’t find the directory
What should I do to try and fix this problem? Thank you in advance.
I have done the following:
- using “sfml-compiler” package
- SFML 2.5.1 visual c++15 (2017) 32-bits installed
- mingw installed
- added include and bin directory to the package
- added libstdc+±6.dll directory