[hatari-devel] Crosscompiling Hatari for GP2X Wiz

Eero Tamminen oak at helsinkinet.fi
Mon Mar 28 23:16:30 CEST 2011


Hi,

On maanantai 28 maaliskuu 2011, Thomas Huth wrote:
> 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?

That's a really ancient version of SDL.  I would suggest using Hatari v1.4
or older if one needs to build against older SDL version.  Older versions
of Hatari are faster too...

Building a bit newer version of SDL too is what I would recommend though
because the screen size checks Hatari now does are kind of important to
prevent Hatari ending up with too large screen settings and aborting on
every startup because of that...


	- Eero



More information about the hatari-devel mailing list