• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interpreting "undefined symbols"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Interpreting "undefined symbols" (From: Adam <email@hidden>)

  • Prev by Date: Re: Interpreting "undefined symbols"
  • Next by Date: Re: Interpreting "undefined symbols"
  • Previous by thread: Re: Interpreting "undefined symbols"
  • Next by thread: Re: Interpreting "undefined symbols"
  • Index(es):
    • Date
    • Thread