[uae] Building Mac OS X SDL No-GUI version?

  • From: Steven Saunders <s_j_nevets@xxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Wed, 12 May 2004 14:10:18 +1000 (EST)

Hi All,

Is there any documentation on how to build the version of uae that
runs under Mac OS X, uses the SDL framework, and doesn't have a GUI
(i.e. doesn't require X11)? I'm *not* trying to build in hardfile
emulation.

I've managed to get it to build with:

   ./configure --without-x --without-gtk --with-sdl --with-sdl-sound
--with-sdl-gfx
   make

.. by compiling SDLMain.[mh] into a SDLMain.o manually and then
adding that in to the output of my customised version of
sdl-config... it runs fine in full-screen mode.. but when running in
a window it doesn't seem to capture keyboard and most mouse events.
All the keyboard events seem to be going to the Terminal I launched
uae from.

In case it's important, I'm using SDL framework version 1.2.7, but I
have a custom sdl-config script. It's output is as follows:

For sdl-config --cflags:
   -F/Users/steve/Library/Frameworks
-I/Users/steve/Library/Frameworks/SDL.framework/Headers -D_REENTRANT

For sdl-config --libs:
   /Users/steve/SDLMain.o -L/Users/steve/Library/Frameworks
-framework Cocoa -framework SDL -lobjc

Can anyone give me any pointers on how to build it properly? When I
run the executable version downloaded from http://rcdrummond.net/uae/
it seems to capture keyboard events fine.

Thanks.

Steve.


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

Other related posts: