Unsupported Image format on mac

Discussion about Rocks'n'Diamonds, Boulder Dash, Supaplex, Emerald Mine and any other BD hybrid.

Moderators: Zomis, Flumminator

Post Reply
oawad79
Posts: 6
Joined: Sun Jun 21, 2015 12:25 am

Unsupported Image format on mac

Post by oawad79 » Sat Jun 27, 2015 5:47 pm

Hey

When trying to run the latest version 4 on mac os , I get

objc[16195]: Class SDLApplication is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
objc[16195]: Class SDLAppDelegate is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
objc[16195]: Class SDLTranslatorResponder is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
objc[16195]: Class SDLMessageBoxPresenter is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
objc[16195]: Class SDLOpenGLContext is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
objc[16195]: Class SDLWindow is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
objc[16195]: Class Cocoa_WindowListener is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
objc[16195]: Class SDLView is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /usr/local/lib/libSDL2-2.0.0.dylib. One of the two will be used. Which one is undefined.
rocksndiamonds: warning: configuration file '/Users/oawad/Documents/Rocks'n'Diamonds/cache/artworkinfo.cache' is empty
rocksndiamonds: fatal error: LoadImage() failed: IMG_Load(): Unsupported image format
rocksndiamonds: aborting

Thanks

User avatar
Holger
Site Admin
Posts: 2904
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Unsupported Image format on mac

Post by Holger » Tue Jul 28, 2015 4:51 pm

HI, sorry for the late reply, I was on vacation for the last few weeks.

May it be possible that the dynamic SDL2 libraries are sort of mixed up on your installation? Apparently you have installed SDL2 both in /usr/local/opt and /usr/local/lib, which might cause trouble here. Could you please temporarily rename "/usr/local/opt/sdl2" to "/usr/local/opt/sdl2.tmp", for example, and try again?

To better see what's going on, I have improved the error message you get (please pull the latest changes from the git repository), so we can see at least which file caused the problem here (most probably the very first graphic file it attempts to load, which should be "RocksFontSmall.png" I think).

I just had a somewhat similar error on my own Mac, where the game refused to load a MOD music file, because the SDL2_mixer library was unable to use the (dynamically loaded) MikMod library to load the MOD file; cleaning up my SDL2 dynamic libs solved it over here.

Post Reply