Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JyNo

Pages: [1]
1
General / Re: SFML Game Development Book code and Xcode 5.0.1
« on: November 11, 2013, 11:06:50 pm »
I feel really stupid now. I just created the required folder and now I have the template working on Xcode. I still don't know what the problem is with my command line compilation but now that I have the Xcode template up and running maybe it is not so important.

Cheers.

2
General / Re: SFML Game Development Book code and Xcode 5.0.1
« 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.

Pages: [1]
anything