Getting SDL set up in Snow Leopard?

Discussion in 'iOS Programming' started by chrono1081, Sep 15, 2009.

  1. chrono1081 macrumors 604


    Jan 26, 2008
    Isla Nublar
    Hi guys.

    When I upgraded to Snow Leopard all my SDL stuff was gone : /

    I was trying to put it all back on but the instructions on SDL's site are outdated and mention folders that don't exist. Does anyone have a link to an updated article on installing SDL on Mac OSX? I couldn't seem to find one : /
  2. smaffer macrumors newbie

    Sep 20, 2009
    Hi, i found that the directories in XCode 3.2 are changed.

    You have to copy the SDL.Framework in /Developer/Library/Frameworks and all the SDL project templates (found in the "extra" package) in /Developer/Library/Xcode/Project Templates/SDL/

    I've found some problems while building SDL applications: You need to select x86 target (instead of x86_64 that does not work) and select 10.5 or 10.6 SDK (10.4 dont work).

    SDL seem to work fine on SL but, sometimes, the OpenGL rendering process dont start properly. If i move the SDL window the rendering restart to work but if i dont move the window, the window content is not updated.

    Sorry for my poor english :/
  3. daze macrumors 6502


    Mar 11, 2006
    San Jose, California
    Smaffer, thanks! Your instructions help me get SDL up and running!!! Kudos on that.

Share This Page