Hi there,
First of all sorry if there has been a post on this subject before, but I recently picked up SFML and have been trying to set up for dev but have been running into an issue. I'm using the sample code from the tutorial (green circle window), but when I try to compile it from the command line (MSYS2 shell), with
g++ main.cpp -I/c/Lib/SFML-2.5.1/include -L/c/Lib/SFML-2.5.1/lib -lsfml-graphics -lsfml-window -lsfml-system
I run into this error
/c/Lib/SFML-2.5.1/include/SFML/Config.hpp:97:10: error: #error This UNIX operating system is not supported by SFML library
I'm currently using the binaries provided by the website for GCC 7.3.0 MinGW (SEH) - 64-bit, but am I misunderstanding which ones I'm supposed to use? BC the check for windows just checks if _WIN32 is defined but afaik mingw does not have this, but rather defines__MINGW32__
Any help would be appreciated, thanks