Mac OS X : Dependency on X11? |
Mac OS X : Dependency on X11? |
Ryan C. Gordon
Guest
|
It's probably got X11 support enabled, but not dynamically loading it. Quickest fix is to turn it off at configure time on Mac OS X if you don't want it. It's not required on Mac OS X (or any platform, really). --ryan. |
|||||||||||||
|
Mac OS X : Dependency on X11? |
Dominique Louis
Guest
|
Ryan wrote:
Hi Ryan, Where can I disable X11 support under Mac OS X? Hold on would this need to be done on the gamer's machine as well or only my development machine before compilation? Basically I would like to deploy the game.app, probably as a zip file, and the gamer can just unzip and play without having to install anything else. Dominique. |
|||||||||||||
|
Mac OS X : Dependency on X11? |
E. Wing
Guest
|
Are you using the official SDL.framework? We compiled in the X11
support by default because we were told that it would not adversely affect anybody. Perhaps this is not the case? Maybe we need to change this policy? As for compiling the SDL.framework without X11 support, the Xcode project already has target called "Framework Without X11 Stuff". Just select that target instead of the default one. -Eric On 11/25/07, Dominique Louis <dominique at savagesoftware.com.au> wrote:
|
|||||||||||||||
|
Mac OS X : Dependency on X11? |
Ilya Olevsky
Guest
|
E. Wing wrote:
As long as X11 is not required to run a program that uses SDL it should be fine. But you can't rely on X11 being available because it's not installed with OS X by default. I think it's part of the "Unix development tools" package in Leopard and just an optional install in Tiger and Panther. |
|||||||||||||
|
Mac OS X : Dependency on X11? |
Ryan C. Gordon
Guest
|
E. Wing wrote:
It shouldn't affect anyone if SDL is dynamically loading X11...if it wants to link directly to the X11 libs, though, it'll fail on 10.4 systems that didn't explicitly install X11 support when installing the OS itself. 10.5 has X11 support installed by default. We have a path in our x11 target that will fail gracefully if the support isn't installed, and we probably aren't using that in the framework at the moment. This is the SDL_VIDEO_DRIVER_X11_DYNAMIC stuff. --ryan. |
|||||||||||||
|