I emerged tome with USE="sdl", and it emerges fine. However, if I try to start the sdl version with /usr/games/bin/tome -msdl I get the following errors: ..... 2006-03-10 00:46:16.822 tome[5544] *** Uncaught exception: <NSInternalInconsistencyException> Error (1002) creating CGSWindow Trace/BPT trap This is a known issue with SDL on MacOSX (Cocoa). Basically there exist two workarounds. The easier involves a call to [NSApplication sharedApplication] to initialize the Cocoa subsystem. This should work, but it makes the game only playable in fullscreen mode (in windowing mode there are focussing issues, which means you cannot enter keys into the window) The "correct" way is to use SDL_main, as described e.g. in http://docs.mandragor.org/files/Common_libs_documentation/SDL/FAQ_en/FAQ-MacOSX.html The problem in this is that many programs which are toolkit independent doesn't really know how to handle toolkit specific initialization routines. This makes finding the correct place when and where the is to be included rather tricky. If SDL_main can be used, SDL works on MacOSX in windowed and fullscreen mode.
yeap... problem known. Will look into the solution you propose, Dirk.
I try to stay away from games