I've updated MinGW 5.3.0-2 to use mingwrt 3.22.4 to fix several issues when compiling with the C++ 11 standard. Please update your compiler.
I've updated MinGW 5.3.0-2 to use mingwrt 3.22 and the win32api 3.18. This fixes several issues when compiling with the C++11 standard.
Fixed a couple issues with the static binaries for Allegro 220.127.116.11. They were linked dynamically to the CRT instead of statically. That is fixed in release 3. The full list of static link libraries is now included with the distro, as well as the D3D dlls. In addition, I will be uploading a new version of MinGW 5.3.0-2 soon with updated MinGW Runtimes and Win32 APIs as soon as their release is finalized. This will fix issues MinGW 5.3.0-2 has with compiling with the C++11 standard (-std=c++11).
There are a few updates for the binaries. The first release of Allegro 18.104.22.168 had a few timing issues, which are fixed in the latest release in this thread. It also lacked the static FLAC libraries, which are built and included now. As well, the first distribution of MinGW 5.3.0-2 had a bug in mingw/include/math.h where _hypot was incorrectly referenced, so if you included cmath or math.h when using the C++11 standard, programs no longer compiled. See README_MinGW.txt for details. This will be fixed in an upcoming release. This post has been updated to reflect the new versions of the Allegro binaries and downloads. Please update if necessary. Thanks.
I've put together some unofficial distributions of MinGW 4.8.1 and MinGW 5.3.0, as well as binaries of Allegro 4.4.3 from GIT as of 8/12/2016 and Allegro 22.214.171.124 for each version of MinGW. Each includes all the example and test programs as well as the addons and dependencies. Only monolith versions of Allegro 5 are provided.
Hopefully this helps get some more people developing with allegro. Development is as easy as using 7-zip to unpack each archive twice and then setting your system path for mingw and your search paths for allegro.
Any questions, ask away.
Get MinGW here
Unofficial distribution of MinGW gcc 4.8.1-4
Unofficial distribution of MinGW GCC 5.3.0-2 v3
Get your classic Allegro 4.4 here
Unofficial distribution of Allegro 4.4.3 for MinGW gcc 4.8.1-4
Unofficial distribution of Allegro 4.4.3 for MinGW gcc 5.3.0-2
And get the modern day Allegro 5.2 here
Each Allegro binary comes with a .bat file in the root directory of the archive. If you run it, it sets up a cmd.exe environment ready to run the included examples and test programs. Note, I put the dlls in their own directory to prevent duplication of files, so if you want to run them from without the .bat environment you need to copy the dlls to the appropriate folder. Every program is built as dynamic debug, so you can help debug allegro if something goes wrong on your system.
Please test them out and let me know if everything works as expected. (Examples run, programs using the libs build and run correctly, all headers are included, etc...).
Additionally, included are chm docs for each version of Allegro. I find them much easier to use. I will include them for download separately here in case you just want a nice copy of the manuals :
Allegro 443 CHM Manual
Allegro 5211 CHM Manual
The scripts I used to build chm docs for Allegro 5 were provided by ArekXV :
I've made a batch script which automatically generates necessary files and compiles CHM file.
All you need to do is to put the contents into docs/html of allegro source run generateCHM.bat and press Enter to begin.
Get it here:
Please note that HTML Help Workshop needs to be installed for this to work. This script will look for it in Program Files directory.
I've uploaded a copy since dropbox doesn't work for me. (Anybody else have the same problem?)