SFML community forums

General => General discussions => Topic started by: Hiura on January 23, 2013, 10:27:46 pm

Title: Xcode templates updated
Post by: Hiura on January 23, 2013, 10:27:46 pm
Hi everyone !

As you can see, I just published some new templates on github that should fix all the current issues (among other fixes).

The installation is the same, you just need to uninstall the old ones manually (from /Library/Developer/Xcode/Templates).

Have a look at this readme (https://github.com/SFML/SFML/blob/master/tools/xcode/templates/readme.txt) for more information.

Note that the tutorial will be updated when 2.0 is officially released.

If anything doesn't work as expected, please tell me.

Happy Coding !

EDIT:

If you want to use universal project, set CMAKE_OSX_ARCHITECTURES to "i386;x86_64".
Title: Re: Xcode templates updated
Post by: Gan on February 01, 2013, 02:15:07 am
Yaaaaaaay! Now I can continue playing with SFML greatness.
New templates paired with that one guy's Clang/C++11 fix.... it should be the solution to all my problems!

I can imagine it now.... no more linker errors, super fast code, super precise sleep timer, hot chicks wanting my code.
Title: Re: Xcode templates updated
Post by: Hiura on February 01, 2013, 07:51:18 am
What Clang/C++11 fix ? It should work out of the box. If it doesn't it's a bug..
Title: Re: Xcode templates updated
Post by: Gan on February 01, 2013, 04:30:43 pm
Oh, I stopped using SFML for a few weeks cause I couldn't get it to compile and work with C++11 on Mac. Mostly just linker errors.
Title: Re: Xcode templates updated
Post by: Cornstalks on February 02, 2013, 07:10:43 am
What Clang/C++11 fix ? It should work out of the box. If it doesn't it's a bug..
My completely wild guess is maybe he's mentioning this (http://en.sfml-dev.org/forums/index.php?topic=10400.0)?
Title: Re: Xcode templates updated
Post by: jokoon on March 16, 2013, 12:25:24 pm
Could someone quickly post them on some download site, I'm in a public library and https is blocked (I asked and seems there's no other way).

EDIT: forget it I just got out of this library found some freewifi and downloaded it. Public service, what a mess.
Title: Re: Xcode templates updated
Post by: Roggie on March 29, 2013, 02:56:39 pm
Thanks! I stopped using SFML because I was such a failure with the whole manual compilation stuff, but now I can start again! I've been having one error though: clang: error: linker command failed with exit code 1 (use -v to see invocation). I've searched for it, and it seems I have to do something with recompilation?

I don't know if I should make I new topic for this under general, but you asked for bugs in the templates and I think this has something to do with the template :3