Thread overview
DerelictAllegro5
Feb 01, 2015
Mike Parker
Feb 02, 2015
Joel
Jun 14, 2015
deed
Jun 15, 2015
Mike Parker
Jun 15, 2015
rcorre
February 01, 2015
I've finally dusted off and finished up the "new" Allegro 5 binding I started on over a year ago. SeigeLord already maintains a static binding at [1]. It has support for the WIP 5.1 branch of Allegro. DerelictAllegro5 is, like all Derelict packages, a dynamic binding and only supports 5.0 for now. Read my blog post [2] about it for some important info you need to know if you intend to use it.

[1] https://github.com/SiegeLord/DAllegro5
[2] http://dblog.aldacron.net/derelictallegro5/
February 02, 2015
Great news!

I've been using Allegro 5 for a long time, but not in Mac OS - where I'm more interested in using it.
June 14, 2015
On Sunday, 1 February 2015 at 12:32:46 UTC, Mike Parker wrote:
> I've finally dusted off and finished up the "new" Allegro 5 binding I started on over a year ago. SeigeLord already maintains a static binding at [1]. It has support for the WIP 5.1 branch of Allegro. DerelictAllegro5 is, like all Derelict packages, a dynamic binding and only supports 5.0 for now. Read my blog post [2] about it for some important info you need to know if you intend to use it.
>
> [1] https://github.com/SiegeLord/DAllegro5
> [2] http://dblog.aldacron.net/derelictallegro5/

Thanks for your work. Gave it a try and got the message below when building with dub. (The blog post [2] resulted in "404 Not found".)

---8<---
Building derelict-util 2.0.0 configuration "library", build type debug.
Running dmd...
Building derelict-allegro5 0.0.1 configuration "library", build type debug.
Running dmd...
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/types.d(442): Warning: instead of C-style syntax, use D-style syntax 'float[_AL_MAX_JOYSTICK_AXES] axis'
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/types.d(650): Warning: instead of C-style syntax, use D-style syntax 'int[ALLEGRO_MOUSE_MAX_EXTRA_AXES] more_axes'
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/internal.d(49): Error: undefined identifier MonolithNames, did you mean variable MoolithNames?
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/acodec.d(34):        called from here: genLibNames("Acodec")
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/allegro.d(41): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/audio.d(36): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/color.d(36): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/dialog.d(36): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/font.d(36): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/image.d(34): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/memfile.d(36): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/physfs.d(34): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/primitives.d(37): Error: CTFE failed because of previous errors in genLibNames
../../../.dub/packages/derelict-allegro5-0.0.1/source/derelict/allegro5/ttf.d(37): Error: CTFE failed because of previous errors in genLibNames
FAIL ../../../.dub/packages/derelict-allegro5-0.0.1/.dub/build/library-debug-linux.posix-x86_64-dmd_2067-4B2E79BD2445C9C620DCF9A331C7DDC2/ DerelictAllegro5 staticLibrary
---8<---
June 15, 2015
On Sunday, 1 February 2015 at 12:32:46 UTC, Mike Parker wrote:
> I've finally dusted off and finished up the "new" Allegro 5 binding I started on over a year ago. SeigeLord already maintains a static binding at [1]. It has support for the WIP 5.1 branch of Allegro. DerelictAllegro5 is, like all Derelict packages, a dynamic binding and only supports 5.0 for now. Read my blog post [2] about it for some important info you need to know if you intend to use it.
>
> [1] https://github.com/SiegeLord/DAllegro5
> [2] http://dblog.aldacron.net/derelictallegro5/

Link [2] appears to be dead.
June 15, 2015
On 6/14/2015 10:48 PM, deed wrote:
> On Sunday, 1 February 2015 at 12:32:46 UTC, Mike Parker wrote:
>> I've finally dusted off and finished up the "new" Allegro 5 binding I
>> started on over a year ago. SeigeLord already maintains a static
>> binding at [1]. It has support for the WIP 5.1 branch of Allegro.
>> DerelictAllegro5 is, like all Derelict packages, a dynamic binding and
>> only supports 5.0 for now. Read my blog post [2] about it for some
>> important info you need to know if you intend to use it.
>>
>> [1] https://github.com/SiegeLord/DAllegro5
>> [2] http://dblog.aldacron.net/derelictallegro5/
>
> Thanks for your work. Gave it a try and got the message below when
> building with dub. (The blog post [2] resulted in "404 Not found".)
>

The fixes for your specific errors are in, but I'm unable to compile on Linux right now to verify. In future, please report all such issues on the issue tracker at github.

https://github.com/DerelictOrg/DerelictAllegro5/issues

As for the blog post, I moved the blog to another server a couple months back and apparently forgot to enable URL rewriting. It's at:

http://dblog.aldacron.net/?p=89