May I first thank each and every member of the SFML Team and anyone who has contributed to the SFML project for you work. I LOVE SFML so much!
It gives what may I call "simplistic control," the best kind.
Now for some context:
I am working on a Pong extension named Pong++. I have set up a game engine/game state manager, and have coded a splash screen. But, when I build I am greeted by this error complaining about the
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
line of "Config.hpp" file(line 54 to be exact). Here is the full error:
/usr/local/include/SFML/Config.hpp:54:9: error: invalid token at start of a preprocessor expression
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
^
I am on MacOS(OS X as it was called at the time of release)version 1.9 (Mavericks), and have SFML 2.5.1 installed. I have not tried reinstalling SFML, but it seems to be an issue with my version of SFML, so if I do I will install the latest commit.
(I did try this in a file just importing the "Config.h" file by itself in a single file and still got an error.)