Help to port an SDL Linux App to MacOsX

Hi,

I’m trying to port an emulator, QDAE, from Linux to MacOsX:

http://www.seasip.info/Unix/QDAE/

This emulator use SDL on Linux.
But I do not succeed… I have the main window, wich will display ok,
the emulator work -seems to work, as I have the boot sequence-, but no
menus, no keyboard input nor mouse events. And the app hang…

I’ve installed SDL on my MacOsX 10.3.8 macintosh.
Using XCode, I choose ‘new Cocoa SDL Applicacation’.
Running this just newly created app works.
Then, I add the sources of the emulator, change some things to make it
compiling under XCode.

SDLMain and SDLMain.h seems to be OK, using the .NIB. I doesn’t know
much more about SDL… Doesn’t find a lot of information, too.

Can somebody who know SDL and MacOsX help me ? I can post somewhere my
XCode project.

Thanks in advance.

Jerome Vernet

One things to add: it seems that the app doesn’t hang. It’s running,
but without getting any event (nothing in the event queue). It look
exactly as if the Windows doesn’t have focus…

Still no menubar…

If somebody can help, thanks !

Jerome

Le 21 mars 05, ? 11:53, Jerome Vernet a ?crit :> Hi,

I’m trying to port an emulator, QDAE, from Linux to MacOsX:

http://www.seasip.info/Unix/QDAE/

This emulator use SDL on Linux.
But I do not succeed… I have the main window, wich will display ok,
the emulator work -seems to work, as I have the boot sequence-, but no
menus, no keyboard input nor mouse events. And the app hang…

I’ve installed SDL on my MacOsX 10.3.8 macintosh.
Using XCode, I choose ‘new Cocoa SDL Applicacation’.
Running this just newly created app works.
Then, I add the sources of the emulator, change some things to make it
compiling under XCode.

SDLMain and SDLMain.h seems to be OK, using the .NIB. I doesn’t know
much more about SDL… Doesn’t find a lot of information, too.

Can somebody who know SDL and MacOsX help me ? I can post somewhere
my XCode project.

Thanks in advance.

Jerome Vernet


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl