2
« on: November 10, 2013, 03:29:52 am »
Hello,
I am also having troubles with Xcode 5.0.1 and SFML. But mine are pretty dumb. I recently upgraded from Snow Leopard to Mavericks (clean install) and got Xcode 5. In SL I used SFML 2.0 and I didn't use the templates since I couldn't get Xcode 4, I compiled my projects from terminal with a command like "g++ main.cpp -framework sfml-graphics -framework sfml-window -framework sfml-system".
Now, here is my problem, I downloaded SFML 2.1 (clang version), and moved the frameworks and extlibs files to my /Library/Frameworks/ folder. However, I couldn't figure out where to put the Xcode 5 templates but I could not find the /Library/Developer/Xcode/Templates folder. I think that since now Xcode is a stand alone app there is no such folder anymore, so I don't know how to set up the templates. I tried looking in /Applications/Xcode.app/Contents/ but there is no folder for templates there either. May I ask how you set the templates up The Thinker?
Another thing is that my command line compilation doesn't work anymore either. I tried dumping the frameworks in the /Applications/Xcode.app/Contents/Frameworks folder but that doesn't work either. If I try to complile as before I get an error :
"JyNorbita:desktop JyNo$ g++ main.cpp -framework sfml-graphics -framework sfml-window -framework sfml-system
main.cpp:1:10: fatal error: 'SFML/Graphics.hpp' file not found
#include <SFML/Graphics.hpp> "
Thanks in advance for you help.