OT: Started a blog about D, OpenGL and SDL
Mike Parker
aldacron71 at yahoo.com
Thu Jan 25 23:40:10 PST 2007
Olli Aalto wrote:
> Mike Parker wrote:
> By any chance do you know what needs to be done for derelict's SDL to
> work on a mac? I have one and I've probably got some time during the
> weekend, so I could give it a shot. I just need to know a little bit
> more of the problem.
>
> O.
Apparently SDL_main does some sort of trickery that is a necessity, so
just loading in the SDL framework isn't enough to run an SDL app.
Whatever SDL_main is doing needs to be done by Derelict as well. I find
that rather poor design. IMO SDL_main should only be a convenience, not
a necessity, and any setup should be handled in SDL_Init. But, nothing I
can do about that.
Derelict should be playing nice with GDC. Anders submitted a patch a
while ago to make it do so. I suppose it's working, because the last
time someone tried to get Derelict up and running on the Mac they got
things compiling (then got bit by the SDL_main problem).
The only other concern is Bud. If Bud isn't working on the Mac, then
that means we'll need a Makefile system to build the Derelict libs. So a
priority of anyone getting working on Macifying Derelict should be to
get Bud functioning first.
As you can see, it's a bit of an involved task :)
More information about the Digitalmars-d-announce
mailing list