Confirmed, adding an @rpath to Aleph One with @executable_path/…/Frameworks makes the frameworks load. The reliance on @rpath must be new–I know I’ve dropped in SDL frameworks before without trouble. No matter, we’ll add it to the next build.
As far as the mouse look issue, Jeremiah, another Aleph One developer, says enabling calls to SDL_WM_GrabInput to grab the input when mouse look is active fixes it. This is undesirable, because it prevents users from alt-tabbing. I don’t know yet whether the change is necessary on non-Mac OS X platforms. I know we’re not currently grabbing the input on any platform with 1.2.14.
GregoryOn Jan 10, 2012, at 9:14 PM, Sam Lantinga wrote:
Okay, here are the framework versions:
SDL
@rpath/SDL.framework/Versions/A/SDL (compatibility version 12.0.0, current version 12.4.0)
SDL_net:
@rpath/SDL_net.framework/Versions/A/SDL_net (compatibility version 9.0.0, current version 9.0.0)
@rpath/SDL.framework/Versions/A/SDL (compatibility version 12.0.0, current version 12.4.0)
I’m guessing that you don’t have your rpath set up in Aleph One and it’s getting a system installed framework instead of the one you dropped in?
On Mon, Jan 9, 2012 at 9:40 PM, Gregory Smith <@Gregory_Smith> wrote:
On Mon, Jan 9, 2012 at 12:20 AM, Sam Lantinga wrote:
Okay, the packages are updated:
http://www.libsdl.org/tmp/prerelease/SDL/SDL-1.2.15.dmg
http://www.libsdl.org/tmp/prerelease/SDL_image/SDL_image-1.2.11.dmg
http://www.libsdl.org/tmp/prerelease/SDL_mixer/SDL_mixer-1.2.12.dmg
http://www.libsdl.org/tmp/prerelease/SDL_net/SDL_net-1.2.8.dmg
http://www.libsdl.org/tmp/prerelease/SDL_ttf/SDL_ttf-2.0.11.dmg
Aleph One uses SDL, SDL_net, SDL_image, and SDL_ttf. I dropped these
new frameworks into the latest release, and everything works perfectly
on my late model MacBook Air running Lion, both in 32-bit mode and
64-bit mode.
Unfortunately the same app will not start on my original MacBook Pro
running Snow Leopard:
Dyld Error Message:
Library not loaded: @rpath/SDL.framework/Versions/A/SDL
Referenced from: /Users/ghs/Desktop/Marathon Infinity/AlephOne new
SDL.app/Contents/MacOS/…/Frameworks/SDL_net.framework/Versions/A/SDL_net
Reason: Incompatible library version: SDL_net requires version
12.0.0 or later, but SDL provides version 1.0.0
I get similar messages for SDL_image and SDL_ttf if I just replace those.
Using just SDL 1.2.15, with the old satellite frameworks, the app
starts up, and the UI works correctly, but when I enter the game
mouselook doesn’t work. The buttons do work to fire. This happens in
both fullscreen and in a window. Maybe recentering is broken?
This machine isn’t set up in a comfortable position to debug this
stuff, so more once I’m able to relocate it. In the mean time, can
anyone else confirm issues with framework versions or mouse control in
32-bit Snow Leopard?
Gregory
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org