Mac OS X : Dependency on X11? (fwd)

So this was my understanding of how it was supposed to be built. I
thought X11 would be dlloaded if needed so there wouldn’t be any
problems with systems that didn’t have/need X11.

I ran ‘otool -L’ on the official framework, and I don’t see any
dependencies on X11. So I’m not sure what’s going on. I don’t have an
OS X system without X11 installed so I can’t really test/verify this
one. (And I thought Tiger always had the X11 runtime installed, but
not the development headers and tools, though I could be mistaken.)

-EricOn 12/4/07, E. Wing <@Eric_Wing> wrote:

So this was my understanding of how it was supposed to be built. I
thought X11 would be dlloaded if needed so there wouldn’t be any
problems with systems that didn’t have/need X11.

I ran ‘otool -L’ on the official framework, and I don’t see any
dependencies on X11. So I’m not sure what’s going on. I don’t have an
OS X system without X11 installed so I can’t really test/verify this
one. (And I thought Tiger always had the X11 runtime installed, but
not the development headers and tools, though I could be mistaken.)

-Eric

On 12/1/07, Sam Lantinga wrote:

Eric, the X11 support is dynamically loaded in the framework, right?

If not, I definitely want to fix that for the next release.

Forwarded message: -------------------
Date: Tue, 27 Nov 2007 11:36:57 -0500
From: “Ryan C. Gordon”
Subject: Re: [SDL] Mac OS X : Dependency on X11?

E. Wing wrote:

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?

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.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

------------------- end forwarded message.