Jump to content
  • Advertisement

Endogenous

Member
  • Content count

    20
  • Joined

  • Last visited

Community Reputation

166 Neutral

About Endogenous

  • Rank
    Member

Personal Information

  • Interests
    Programming
  1. Endogenous

    Xcode 4 with SDL

    Hmm that all seems reasonable, when I download the runtime library and do ls -lR I get: [source lang="bash"]./SDL.framework: total 24 lrwxr-xr-x 1 endo staff 24 19 Jan 2012 Headers -> Versions/Current/Headers lrwxr-xr-x 1 endo staff 26 19 Jan 2012 Resources -> Versions/Current/Resources lrwxr-xr-x 1 endo staff 20 19 Jan 2012 SDL -> Versions/Current/SDL drwxr-xr-x 4 endo staff 136 19 Jan 2012 Versions ./SDL.framework/Versions: total 8 drwxr-xr-x 5 endo staff 170 19 Jan 2012 A lrwxr-xr-x 1 endo staff 1 19 Jan 2012 Current -> A ./SDL.framework/Versions/A: total 1464 drwxr-xr-x 40 endo staff 1360 19 Jan 2012 Headers drwxr-xr-x 4 endo staff 136 19 Jan 2012 Resources -rwxr-xr-x 1 endo staff 747208 19 Jan 2012 SDL ./SDL.framework/Versions/A/Headers: total 1216 -rw-r--r-- 1 endo staff 3233 19 Jan 2012 SDL.h ... -rw-r--r-- 1 endo staff 1482 19 Jan 2012 close_code.h ./SDL.framework/Versions/A/Resources: total 8 -rw-r--r-- 1 endo staff 1180 19 Jan 2012 Info.plist drwxr-xr-x 3 endo staff 102 19 Jan 2012 SDLMain.nib ./SDL.framework/Versions/A/Resources/SDLMain.nib: total 8 -rw-r--r-- 1 endo staff 1701 19 Jan 2012 objects.nib ./devel-lite: total 40 -rw-r--r-- 1 endo staff 1485 19 Jan 2012 ReadMeDevLite.txt -rw-r--r-- 1 endo staff 374 19 Jan 2012 SDLMain.h -rw-r--r-- 1 endo staff 11197 19 Jan 2012 SDLMain.m[/source] It's the ./SDL.framework/Versions/A/SDL that's 747208 bytes which is the library I think you're looking for. Trying adding that file to the path dyld is looking for. Or just copy the Framework to /Library/Frameworks and hopefully it should work!
  2. Endogenous

    Xcode 4 with SDL

    Yup you're right about it missing the shared library. If you install the runtime libraries for SDL you would see it under your /Libraries/Framework/SDL path (which is roughly equivalent to the DLL being under your system32 folder), or you can embed it inside your application package which is where dyld is telling you it can't find it. You can find the shared library by getting the runtime library here: http://www.libsdl.org/download-1.2.php, although the website is acting a bit strange right now and not giving me actual downloads. If that fails you can build it yourself from the development source on the same page. Just open the XCode project, set the SDK/compiler/OS version appropriately and build the Framework, it'll have what you're missing! Good luck!
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!