Re: Creating a new project in Xcode 3.0
Re: Creating a new project in Xcode 3.0
- Subject: Re: Creating a new project in Xcode 3.0
- From: Adam <email@hidden>
- Date: Mon, 4 Feb 2008 17:44:15 -0800
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Adam wrote:
A very simple question: I tried to create a new project in Xcode
3.0, but I couldn't find the project builder that I needed (SDL/
OpenGL). Is this under some other name? Do I need to use another one
and modify it? Can I create my own? (sorry, I don't know exactly
what it's called, it's the things on the list that shows up when you
click "New Project")
Doesn't SDL come with a starter project? If not, you could probably
start with a non-document Cocoa app (since SDL uses Cocoa, sort of).
David Dunham
I thought it did. It was called something like SDL - OpenGL project. I
don't see that option any more. Is there a way I could create my own,
or which one should I use?
Hello David,
Sunday, February 3, 2008, 11:08:00 PM, you wrote:
Doesn't SDL come with a starter project?
It does but it's woefully out of date.
What does this mean, and where is it in Xcode?
If not, you could probably start with a non-document Cocoa app
(since SDL uses Cocoa, sort of).
Personally I find it easier just to start with an empty project. You
need to copy SDLMain.m into your project and link with the
SDL.framework.
This might be possible, but alas, I know nothing of targets, and so I
must start with a pre-made project.
A catch is that SDL does not follow the rules for framework usage eg
#include <SDL/SDL.h> - it treats it unix style. If you use SDL_image,
SDL_mixer etc, you will need to manually add the Headers folder inside
SDL.framework to the header search path, otherwise you will get errors
about the SDL headers not being found.
Peter
...and that would be much more complicated than just having a pre-made
project, which should be there somewhere...
All help is appreciated and thanks in advance.
~ < [ / Adam-o \ ] > ~
Mac OS 10.5.1
Powerbook G4
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden