Compiling Flurry Screensaver for 64-bit Snow Leopard

Discussion in 'Mac Programming' started by Demigod Mac, Oct 29, 2009.

  1. macrumors 6502a

    Joined:
    Apr 25, 2008
    #1
    I've been trying to compile Flurry for 10.6, unsuccessfully. It's been my screen saver of choice for 7 years, but it's incompatible with Snow Leopard in its current incarnation. I keep getting the error message from Xcode: C.h: No such file or directory. (I have almost zero programming experience, so any help would be greatly appreciated).

    Flurry and its source code can be downloaded here:

    http://homepage.mac.com/calumr/Flurry.dmg
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Doesn't Flurry come with OS X? It's installed on my computer and working fine as 64-bit.
     
  3. thread starter macrumors 6502a

    Joined:
    Apr 25, 2008
    #3
    Used to.
     
  4. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    In Texture.c, try replacing
    Code:
    #include <c.h>
    with
    Code:
    #include <sys/param.h>
    If you have Xcode set to only build for x86_64 it should work.

    Edit:
    The version of Flurry I have sure looks like it came from Apple. Lots of references to "AppleFlurry". My guess is you somehow removed it or I magically got the 64-bit version from Apple fairies ;). I'd suggest using Pacifist to get the file from your SL install DVD.
     
  5. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #5
    It still does.
     
  6. thread starter macrumors 6502a

    Joined:
    Apr 25, 2008
    #6
    That's very odd! I tried Pacifist and sure enough there it was. I wonder why it wasn't installed....

    Calum Robinson's build of Flurry is still superior, though (more customization options)

    Changing that line allowed it to build, but it still refuses to load as a screensaver, even after I changed it to x64 and 10.6.

    I did find this, but couldn't find where to paste in some of the lines.

    http://developer.apple.com/mac/library/qa/qa2009/qa1666.html

    But for now, I'm glad to have my favorite screensaver back in some form at least! Thanks
     

Share This Page