[hatari-devel] Crosscompiling Hatari for GP2X Wiz
Thomas Huth
huth at users.berlios.de
Mon Mar 28 19:14:43 CEST 2011
Am Mon, 28 Mar 2011 19:09:55 +0200
schrieb Matthias Arndt <marndt at asmsoftware.de>:
> /home/marndt/src/hatari/src/resolution.c:46: error: 'SDL_VideoInfo'
> has no member named 'current_w'
> /home/marndt/src/hatari/src/resolution.c:46: error: 'SDL_VideoInfo'
> has no member named 'current_h'
> make[2]: *** [src/CMakeFiles/hatari.dir/resolution.c.o] Fehler 1
> make[2]: Verlasse Verzeichnis '/home/marndt/src/hatari/wiz' make[1]:
> *** [src/CMakeFiles/hatari.dir/all] Fehler 2 make: *** [all] Fehler 2
> make[1]: Verlasse Verzeichnis '/home/marndt/src/hatari/wiz'
>
>
> My libSDL for the target is not the latest version and probably it is
> unlikely to get one.
> For compatibility reasons this obvious new call of SDL_ should be made
> optional or replaced with backward compatible code.
According to http://sdl.beuc.net/sdl.wiki/SDL_VideoInfo the fields
current_w and current_h have just been introduced with SDL 1.2.10 ...
Eero, could you please put some proper #ifdefs here?
Thomas
More information about the hatari-devel
mailing list