[Mono-devel-list] SDL on mac os x: has anyone managed it yet?

Paolo Molaro lupus at ximian.com
Thu Feb 24 09:41:40 EST 2005


On 02/22/05 Jason Bell wrote:
> In freepascal, you can get around this by manually
> changing the main function to SDL_main, and linking
> against libSDL.dylib (SDL.framework won't work because
> for some reason it doesn't contain the initialisation
> code itself).  Thus, the application starts in SDL's
> main function, which then calls SDL_main, and so
> enters your program's loop.
> 
> Has anyone looked at some way of getting SDL working
> with mono on mac os x?  I assume a solution similar to

Can't you just pinvoke SDL_main in the sdl library where
you want to enter the main loop?

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list