Re: Interpreting "undefined symbols"
Re: Interpreting "undefined symbols"
- Subject: Re: Interpreting "undefined symbols"
- From: Steve Checkoway <email@hidden>
- Date: Mon, 17 Dec 2007 19:52:32 -0800
On Dec 17, 2007, at 7:25 PM, Adam wrote:
You have to include SDL_main.h in the file containing your main
(that's the one with the macro to rename your main to SDL_main). It's
needed because the SDLMain.m has to setup the window and event loop
before your code can start.
I included it, and still, no dice. Link to code with SDL files
included:
http://adam-0.tripod.com/tetris.html
Hit the second link; you already have the first one if you dl'ed it.
I downloaded it and sdl. It doesn't build because you seem to be
including objective c headers in a .cpp. I'm not entirely clear how
it's building for you.
You've included SDLMain.h in your sdl_t002.h file. That is breaking
the build.
Once I removed that include, it built perfectly for me.
--
Steve Checkoway
_______________________________________________
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