SFML community forums
Help => General => Topic started by: Roggie on October 17, 2012, 07:54:24 pm
-
Yo!
After some time of absence in the SFML-world I decided to just start over and try again. Full of enthusiasm, I started up my updated Xcode and ran the standard SFML 2.0 template. SFML/Graphics.hpp not found Well, I didn't see the SFML folder at all in the frameworks folder so I thought I had accidentally deleted it. I ran the 2.0 installer and stated a new project trough the template. SFML/Graphics.hpp not found. And, again I couldn't find the SFML folder in the frameworks, so I added it by dragging it from the Finder. No response but the error. Does anybody know this?
Roggie
-
You have recompilled with cmake?
-
Have I done what? :P
I'm sorry, but I'm not that of a wonder with all these extra programs and compilers. I often just download the installer (if there's one), follow a couple of tuts and then make something. Could you maybe explain it? :3
-
First you need to do this: http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php
And after this: http://www.sfml-dev.org/tutorials/2.0/start-cb.php
-
You don't need to recompile SFML for the templates.
When Apple had updated Xcode they broke the templates. You can fix them easily : just have a look at these issues (each of them have one or more solutions in a comment) :
https://github.com/SFML/SFML/issues/285
https://github.com/SFML/SFML/issues/233
BTW, those error were already discussed in other threads. If you need more info then use the search feature of the forum.