SFML community forums

Help => General => Topic started by: Explodey on November 15, 2013, 03:38:30 am

Title: Mac Xcode 3
Post by: Explodey on November 15, 2013, 03:38:30 am
I've been teaching myself c++ for the past few months, and now that I've finished reading a beginner's c++ textbook, I thought it might be time to try to venture outside of the STL.  So I did some research and it seemed like SFML might be a good place to start.  My problem is that I'm using Xcode 3.2.6, and the OS X tutorial on the sfml site doesn't seem to have any setup help for older versions of Xcode.  So I was just wondering if anyone knew of any resources online that might help me set up my first sfml project in Xcode.

The reason I don't just update Xcode is because I'm still running on Snow Leopard, and I can't update to Mountain Lion because I have a lot of apps that won't run without Rosetta.

Thanks.
Title: Re: Mac Xcode 3
Post by: Explodey on November 15, 2013, 06:39:26 am
Okay, I decided to try SFML on my Dad's computer, since he does have Xcode 5.  But when I used the install.sh file, I got a long list of "Permission denied" statements.  So I tried copying all the files manually, but some of the directories mentioned in the tutorial didn't exist on my dad's computer (or on my computer either, for that matter).

/usr/local/include
wasn't there.  And the closest thing I could find to this:
/Library/Developer/Xcode/Templates
was this:
Library/Application Support/Apple/Developer Tools/Project Templates

So I put the templates in there, but "sfml" still didn't come up in the new project window in Xcode.

If someone could explain what I'm doing wrong, I'd really appreciate it!
Title: Re: Mac Xcode 3
Post by: Explodey on November 16, 2013, 03:36:39 am
I figured out what I was doing wrong.  I had to actually create that Templates folder structure.  Then the sfml templates did appear in the Xcode New Project window.  But I could still use some help, because when I try to Run the .app file, I get a long list of linking errors, so I think it must not be finding the frameworks.  I put the frameworks into /Library/Frameworks , and I picked "Clang" in the setup window, which is the version I downloaded, so I don't know why it's not linking.  Please help!
Title: Re: Mac Xcode 3
Post by: Celtic Minstrel on November 18, 2013, 04:08:58 pm