[ab] problems with cocoahelper
Luke J Crook
luke at balooga.com
Mon Jun 4 23:49:36 CDT 2007
Anthony Fairchild wrote:
> Now with those changes, I'm still having trouble getting my game to
> work. I can get the game window to show, but mouse clicks and key
> presses do not work. Regarding cocoahelper, the website states:
>
>
> I'm using Lispworks Pro 5.0.2 on an Intel Mac with the latest OS patches.
Can you run any of the examples?
I've never used a Mac so I have to debug blind.
> "This creates an instance of NSApplication that serves as a bridge
> between SDL and Cocoa, similiar to that used by the Python project
> Pygame. If this is successful, you should see the icon for a generic
> OS-X ap appear in your dock."
>
> But I dont see an OS-X app in the doc after cocoahelper is loaded.
In "cocoahelper.m", it seems that registering with the dock is enabled
when SDL_USE_CAPS is #defined. It is, but it is #undef'ined on the very
next line.
#define SDL_USE_CPS 1
#undef SDL_USE_CPS
I would comment out "#undef SDL_USE_CPS" and rebuild.
- Luke
More information about the application-builder
mailing list