So, no one knows how to get SDL 1.2.15 working with ML 10.8

I have SDL 1.2 working on 10.8 no problem. just copied precompiled binary to /Library/Frameworks tho. why on earth would you install ANYTHING ever into /System is beyond me.

Thank you so much for your reply. I am totally with you with regard to placing ANYTHING in /System/… I am using the SDL.Framework it in conjunction with the Plex SDLMAME plug-in; their directions say to copy the SDL.Framwork to “/System/Library/Frameworks” so I tried that first just to comply with their instructions… from then on, I followed SDL’s instructions and placed it in /Library/Frameworks/… I think they are both in the @rpath but I agree, following best practices is always the way to go.

Using the precompiled SDL.Framework in /Library/Frameworks I only get this same error when launching mame64:

Could not initialize SDL Unsupported display mode

Was 10.8 an upgrade or a full fresh install? Are you on 10.8.2 and using Xcode 4.5? Do you have Quartz installed? I may be reaching at straws here but I’m trying to find any differences whatsoever. Am I correct in assuming this has nothing to do with my mac mini ATI discreet graphics?

Thank you again for your reply – any suggestions are appreciated.

-jOn Oct 2, 2012, at 2:04 PM, brada wrote:

I have SDL 1.2 working on 10.8 no problem. just copied precompiled binary to /Library/Frameworks tho. why on earth would you install ANYTHING ever into /System is beyond me.


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

no, i don’t have xquarts. Xcode version is irrelevant since i didnt compile myself.

maybe you should post the parameters being passed to SDL_SetVideoMode. this sounds more like a problem with the program then with SDL.

Thank you for the suggestion – here is what is being passed:

drawogl.c and drawsdl.c:

sdl->sdlsurf = SDL_SetVideoMode(width, height, 0, SDL_SWSURFACE | SDL_ANYFORMAT | sdl->extra_flags);

testkeys.c

SDL_SetVideoMode(100, 50, 16, SDL_ANYFORMAT);

Should I start thinking about a fresh 10.8 install? The fact that others aren’t jumping up and down about the same issue I’m having really leads me to believe it’s something software related on my end. I’m doubting it’s a hardware issue…

Thank you again for your help. I look forward to your thoughts.On Oct 2, 2012, at 3:09 PM, brada wrote:

no, i don’t have xquarts. Xcode version is irrelevant since i didnt compile myself.

maybe you should post the parameters being passed to SDL_SetVideoMode. this sounds more like a problem with the program then with SDL.


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

you are passing 0 for your bpp [Wink]

I assumed 0 was being used in conjunction with the SDL_ANYFORMAT flag, which is also being passed, to force SDL to generate an appropriate default display, no?On Oct 2, 2012, at 4:17 PM, brada wrote:

you are passing 0 for your bpp


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

Jep Hill wrote:

I assumed 0 was being used in conjunction with the SDL_ANYFORMAT flag, which is also being passed, to force SDL to generate an appropriate default display, no?

I’m not sure, I work in SDL 2 mostly. You still ought to post the values for width, height, and flags. I know with SDL 2 i get similar failures if i try to create a display that is too large for the screen for example.

Thank you for your help.
-jOn Oct 2, 2012, at 6:01 PM, brada wrote:

Jep Hill wrote:
I assumed 0 was being used in conjunction with the SDL_ANYFORMAT flag, which is also being passed, to force SDL to generate an appropriate default display, no?

I’m not sure, I work in SDL 2 mostly. You still ought to post the values for width, height, and flags. I know with SDL 2 i get similar failures if i try to create a display that is too large for the screen for example.


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

Fresh install of OS X 10.8 on fixed my issue – everything is working wonderfully now.
Thanks again!On Oct 2, 2012, at 6:01 PM, brada wrote:

Jep Hill wrote:
I assumed 0 was being used in conjunction with the SDL_ANYFORMAT flag, which is also being passed, to force SDL to generate an appropriate default display, no?

I’m not sure, I work in SDL 2 mostly. You still ought to post the values for width, height, and flags. I know with SDL 2 i get similar failures if i try to create a display that is too large for the screen for example.


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

you are passing 0 for your bpp

This is legal to do.

–ryan.