SiegeLord / DAllegro5

D binding to the Allegro5 game development library
Other
42 stars 15 forks source link

Using dub to compile programs - macOS #38

Closed joelcnz closed 7 years ago

joelcnz commented 7 years ago

The example program works, but how do I use dub for my programs?

SiegeLord commented 7 years ago

There's some documentation here: https://code.dlang.org/getting_started, but I've never tried it.

rcorre commented 7 years ago

I wrote a few games using DAllegro and dub a while back, you can take a look at damage control or terra arcana as an example. They contain configurations for linking allegro statically and dynamically. They work on linux and possibly Windows, I never tested on mac.

joelcnz commented 7 years ago

I didn't find the dub getting started much help.

Thanks rcorre for your game links.