<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 5.1.11 released!</title>
		<link>http://www.allegro.cc/forums/view/615471</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 23 Jul 2015 14:19:38 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m pleased to present yet another release of the WIP branch of Allegro. As always, this was a mix of new features and bug fixes.</p><p>Download the souces <a href="https://sourceforge.net/projects/alleg/files/allegro-unstable/5.1.11/">here</a>.</p><p>Download the windows binaries <a href="https://sourceforge.net/projects/alleg/files/allegro-unstable-bin/5.1.11/">here</a> as well as the MSVC dependencies <a href="https://sourceforge.net/projects/alleg/files/allegro-deps/1.1.0/">here</a>.</p><p>The format of the MSVC binaries changed a little bit. The static release version is now compiled with the static MSVC runtime. The static debug version, on the other hand, is removed altogether as it is not clear what runtime is best to compile it with. As the staticness matters most for releasing software, I don&#39;t think it will be a big issue to link to the dynamic version of Allegro when you want to debug it.</p><p>The Ubuntu PPA has been updated, and the OSX homebrew will be updated in a few days.</p><h1>Changes from 5.1.10 to 5.1.11 (June 2015)</h1><p>

The main developers this time were: SiegeLord, Trent Gamblin.</p><h2>Input</h2><p>

</p><ul><li><p> Rename <span class="source-code">al_get_haptic_active</span> to <span class="source-code">al_is_haptic_active</span> for consistency.</p><br /></li><li><p> Rename <span class="source-code">al_get_num_haptic_effects</span> to <span class="source-code">al_get_max_haptic_effects</span>.</p><br /></li><li><p> Implement the missing <span class="source-code">al_is_touch_input_haptic</span> function.</p><br /></li><li><p> Move the loops parameter of <span class="source-code">al_upload_and_play_haptic_effect</span> after the id to be consistent with <span class="source-code">al_play_haptic_effect</span>.</p></li></ul><h2>OSX port</h2><p>

</p><ul><li><p> Fix mouse warping in OSX.</p><br /></li><li><p> Add retina display support to OSX.</p></li></ul><h2>Windows port</h2><p>

</p><ul><li><p> Fix querying display modes before creating a display.</p><br /></li><li><p> Make the Windows joystick implementation more fault tolerant.</p><br /></li><li><p> Initialize display callbacks when creating faux fullscreen (Edgar Reynaldo).</p></li></ul><h2>Build system</h2><p>

</p><ul><li><p> Fix the conditional compilation of sal.h (Edgar Reynaldo).</p><br /></li><li><p> Don&#39;t look at WinSDK when we&#39;re not on MSVC, fixing MinGW builds when MSVC is installed as well.</p><br /></li><li><p> Fix the static FLAC compile tests on Android and Windows.</p><br /></li><li><p> Make the OSX frameworks install in the proper location again.</p><br /></li><li><p> Add <span class="source-code">WANT_STATIC_RUNTIME</span> CMake build option (currently MSVC-only).</p></li></ul><h2>Documentation</h2><p>

</p><ul><li><p> Various documentation improvements.</p></li></ul><h2>Other</h2><p>

</p><ul><li><p> Return a valid configuration from <span class="source-code"><a href="http://www.allegro.cc/manual/al_get_system_config"><span class="a">al_get_system_config</span></a></span> before Allegro is installed. This allows you to override the various configuration options without using an on-disk <span class="source-code">allegro5.cfg</span>.</p><br /></li><li><p> Compile in the logging support in release modes by default. Now logging can be turned on in release builds without recompiling the program by editing the system configuration.</p><br /></li><li><p> Detect file-overruns when saving configuration files (Bruce Pascoe).</p></li></ul><h2>Color addon</h2><p>

</p><ul><li><p> When converting from YUV to RGB, clamp the returned values between 0 and 1.</p></li></ul><h2>Video addon</h2><p>

</p><ul><li><p> Use an enum in place of magic numbers for <span class="source-code">al_get_video_position</span> constants.</p></li></ul><p><b>EDIT: The MSVC binaries were updated to fix the dynamic loading acodec bug, so the hashes for those two files changes</b>
</p><pre class="terminal scroll">SHA256SUMS

5928cfec00dd7f3b7043d6b7254cdfe27deba0f428c4ea842f2da9357747e854  allegro-5.1.11.7z
7a071635e39105ce52cd82c8641a8f3841efbdfe8fdb39f7a5ae1be6db3be07f  allegro-5.1.11.tar.gz
a14c5fe2c7c0cf945484b998defde5815a12c377c921030236fc08d3dd878616  allegro-5.1.11.zip
64323639cc35e4ca65e3cff997d1ee01975350f170f7c3cb6f00c9da877cad51  allegro_deps-msvc2013-x64-1.1.0.zip
ccab3959b3e98a6813404ddcdbdded5fa268e94d44963ecf94b6bc169a337d6a  allegro_deps-msvc2013-x86-1.1.0.zip
81ae5d6b64e51d75bc726ec4cd75351225bdb2eed5e45d5fb696cd3bfc23c3b0  allegro-msvc2013-x64-5.1.11.zip
58c31463390e1621792e8f61f6790b94aabb6a0cb7569db26c69ff923c5a88fb  allegro-msvc2013-x86-5.1.11.zip
72f880dbb9f9f272f3145629636e7bedb6c76640cf20abfdc7a96f782231d877  mingw-w64-i686-allegro-5.1.11-1-any.pkg.tar.xz
c0cf85b60fd40d50349f9623dbeb49e95cc69eb4288a223940277374216f3dd5  mingw-w64-x86_64-allegro-5.1.11-1-any.pkg.tar.xz</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Mon, 22 Jun 2015 05:48:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just to verify, the MSVC binaries are compiled using the &quot;XP&quot; toolchain, yes?  I ask because otherwise they won&#39;t work on anything lower than Win7--something I learned the hard way.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Mon, 22 Jun 2015 08:02:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014151#target">Bruce Pascoe</a> said:</div><div class="quote"><p> Just to verify, the MSVC binaries are compiled using the &quot;XP&quot; toolchain, yes? I ask because otherwise they won&#39;t work on anything lower than Win7--something I learned the hard way. </p></div></div><p>Yes, they use the XP toolchain.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Mon, 22 Jun 2015 08:27:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have put together binaries for 5.1.11 for MinGW 4.8.1 if anyone is interested.</p><p>My distribution includes statically linked examples and demos, as well as all of allegro and its dependency&#39;s libraries, headers and dlls. Static and dynamic, and debug and release monoliths are included.</p><p>You can get them from SF here :</p><p><a href="http://sourceforge.net/projects/unofficialallegro5distribution/files/A5111distroForMinGW4-8-1.tar.7z/download">http://sourceforge.net/projects/unofficialallegro5distribution/files/A5111distroForMinGW4-8-1.tar.7z/download</a></p><p>And I provide binaries for MinGW 4.8.1 to go along with them, which you can find here :</p><p><a href="http://sourceforge.net/projects/unofficialmingw/files/mingw_4_8_1-4.tar.7z/download">http://sourceforge.net/projects/unofficialmingw/files/mingw_4_8_1-4.tar.7z/download</a></p><p>You&#39;ll need <a href="http://www.7-zip.org/">7-zip</a> to extract them.</p><p>Simply extract twice for each archive. Rename the directories if you like, add the mingw directory to your %PATH%, set your linker and include directories, set your target link libraries, and away you go.</p><p>And now there&#39;s no reason left not to sign up for SpeedHack 2015. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> MinGW and A5 are neatly packaged up and ready to go, and so you should be too. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Mon, 22 Jun 2015 09:46:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014154#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>I have put together binaries for 5.1.11 for MinGW 4.8.1 if anyone is interested.</p></div></div><p>Oh, <a href="https://www.youtube.com/watch?v=rQnYi3z56RE">noice!</a>
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>as well as all of allegro and its dependency&#39;s libraries</p></div></div><p>NNOOOIICE!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Mon, 22 Jun 2015 10:10:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thank SiegeLord for getting this release ready in time for SpeedHack. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> Now that&#39;s Noiice!!!1111
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Mon, 22 Jun 2015 11:05:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks SiegeLord and Edgar, i will give it a try. Nooice. <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Striker)</author>
		<pubDate>Mon, 22 Jun 2015 14:11:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried the binaries, and for some reason Vorbis doesn&#39;t work (<span class="source-code"><a href="http://www.allegro.cc/manual/al_load_audio_stream"><span class="a">al_load_audio_stream</span></a><span class="k2">(</span><span class="k2">)</span></span> returns NULL), with either 32 or 64-bit builds.  Not sure if anything else is broken.  Self-built 5.1.11 binaries work fine.</p><p>As a minor nitpick, is there any reason these depend on libpng and jpeglib?  I use native image loading (GDIplus) for my own Windows builds.  That&#39;s neither here nor there though--I&#39;m more concerned about the Vorbis issue.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Mon, 22 Jun 2015 22:48:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014170#target">Bruce Pascoe</a> said:</div><div class="quote"><p>
I tried the binaries, and for some reason Vorbis doesn&#39;t work (al_load_audio_stream() returns NULL), with either 32 or 64-bit builds. Not sure if anything else is broken. Self-built 5.1.11 binaries work fine.
</p></div></div><p>
That doesn&#39;t necessarily mean the build is broken. Did you call <span class="source-code"><a href="http://www.allegro.cc/manual/al_init_acodec_addon"><span class="a">al_init_acodec_addon</span></a><span class="k2">(</span><span class="k2">)</span></span>? Did you check the cwd? Did you use the same program code run from the same location with the same directory structure as when you built your own version of allegro? It could be a lot of different things causing it to return NULL.</p><p>Edit<br />Also, you can try stepping through al_load_audio_stream with a debugger, and see why it is returning null. It could be as simple as not having the vorbis dll where it belongs. You can also check allegro.log in a debugging build, or you can enable the log in release mode now thanks to SiegeLord (don&#39;t know how though, sorry).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 23 Jun 2015 00:32:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This was swapping out the 5.1.10 self-built binaries and includes I was using (which worked) with the pre-built 5.1.11 ones in the same app, so yes, <span class="source-code"><a href="http://www.allegro.cc/manual/al_init_acodec_addon"><span class="a">al_init_acodec_addon</span></a><span class="k2">(</span><span class="k2">)</span></span> was called. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I&#39;ll try using a debug build and see what&#39;s up.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Tue, 23 Jun 2015 06:57:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Like I said, you may have a problem with a dll. You could still be using the old version of the dll, which would probably screw things up. But that&#39;s just an educated guess I guess. :/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 23 Jun 2015 07:29:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Actually I&#39;m using the static libs.  I even double-checked that I used the right dependencies (the ones linked in the OP).</p><p>What&#39;s interesting is that it works when I link against a dynamic build (including the provided debug build), only the static build fails.</p><p>So it looks like I&#39;ll have to figure out how to enable logging on the static build.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Tue, 23 Jun 2015 07:48:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The situation is under control. Stand by for the fixed binaries <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.</p><p>For logging, incidentally, you can do:</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/al_set_config_value"><span class="a">al_set_config_value</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/al_get_system_config"><span class="a">al_get_system_config</span></a><span class="k2">(</span><span class="k2">)</span>, <span class="s">"trace"</span>, <span class="s">"level"</span>, <span class="s">"debug"</span><span class="k2">)</span>
</pre></div></div><p>

before <span class="source-code"><a href="http://www.allegro.cc/manual/al_init"><span class="a">al_init</span></a><span class="k2">(</span><span class="k2">)</span></span>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 23 Jun 2015 08:01:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So it was broken then?  Good to know, that saves me some time diagnosing it.  Out of curiosity, what was wrong?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Tue, 23 Jun 2015 08:03:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I keep forgetting about the acodec addon&#39;s &quot;feature&quot; of dynamic loading of the dependecies. By default, it doesn&#39;t link to any library but will instead try to open the DLL next to the executable (and a few other spots). In your case, it didn&#39;t find the OGG DLLs and refused to load OGGs as a result.</p><p>It is more annoying than anything, but it does save you from distributing FLAC.dll if you&#39;re not using any FLAC files. What I&#39;m doing now is simply recompiling the Allegro binaries with that feature disabled.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 23 Jun 2015 08:06:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Aha! So it was a dll problem. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> My spidey sense still works!</p><p>Coincidentally, the binaries I made don&#39;t seem to suffer from the same problem. &quot;ex_stream_file.exe game_music.ogg&quot; works ok on my end with statically built examples.</p><p>SiegeLord, out of curiosity, what option enables/disables the dynamic loading of dlls for the acodec addon?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 23 Jun 2015 08:36:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not SiegeLord, but nonetheless: The option is WANT_ACODEC_DYNAMIC_LOAD.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Tue, 23 Jun 2015 08:39:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014182#target">Bruce Pascoe</a> said:</div><div class="quote"><p> I&#39;m not SiegeLord
</p></div></div><p>What! <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" /><img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" /></p><p>I&#39;ve updated the binaries, hopefully now they&#39;re all set.</p><p>For GDI+, incidentally, I think the reason I prefer libpng and libjpeg is because it leads to a bit more consistency between platforms... I think we did have some issues with GDI+, but honestly I can&#39;t remember them. I&#39;ll have to explore this question next time around.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Tue, 23 Jun 2015 08:49:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried this out using my current game &quot;Deluxe Pacman 2&quot; I am working on, which compiles fine with MinGW 4.7.0 &amp; an older Allegro 5 version. </p><p>I downloaded the MinGW and binaries for Allegro you supplied and compiled it all with Code::Blocks and the compiler you supplied.  I use the switch -std=c11 to compile (C 2011 project).  It seems to compile okay except I get the following errors...</p><pre>
||=== Clean: Debug in Deluxe Pacman 2 (compiler: GNU GCC Compiler) ===|
||=== Build: Debug in Deluxe Pacman 2 (compiler: GNU GCC Compiler) ===|
c:\mingw\include\io.h|301|error: unknown type name &#39;off64_t&#39;|
c:\mingw\include\io.h|301|error: unknown type name &#39;off64_t&#39;|
c:\mingw\include\io.h|302|error: unknown type name &#39;off64_t&#39;|
c:\mingw\include\io.h|302|error: unknown type name &#39;off64_t&#39;|
c:\mingw\include\allegro5\file.h|34|error: expected specifier-qualifier-list before &#39;off_t&#39;|
c:\mingw\include\allegro5\fshook.h|75|error: expected specifier-qualifier-list before &#39;off_t&#39;|
c:\mingw\include\allegro5\fshook.h|101|error: unknown type name &#39;off_t&#39;|
||=== Build failed: 7 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|
</pre><p>

Again, I am ONLY using the compiler + Allegro binaries you linked to here.  This seems relatively minor but it would be nice if I could get it running, thanks.</p><p>Edit: Someone on other forums suggested adding &quot;-Doff64_t=_off64_t&quot; to the compiler flags.  I tried this and it widdled the errors down to just 3...</p><pre>
||=== Build: Debug in Deluxe Pacman 2 (compiler: GNU GCC Compiler) ===|
c:\mingw\include\allegro5\file.h|34|error: expected specifier-qualifier-list before &#39;off_t&#39;|
c:\mingw\include\allegro5\fshook.h|75|error: expected specifier-qualifier-list before &#39;off_t&#39;|
c:\mingw\include\allegro5\fshook.h|101|error: unknown type name &#39;off_t&#39;|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 26 Jun 2015 00:23:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Neil Roy!! Good to see you, old chap! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Fri, 26 Jun 2015 00:56:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks.   Upon further investigation into my problem, it appears that there is a bug in the current MinGW so that if I compile as a C program with -std=c11 I get that error (also occurs with specifying certain C++ standards).  So I switch to C++ compiling and now my game goes from running to freezing up during loading.   </p><p>I hate having to compile it with regular C++, I feel all dirty (I prefer C). <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>(sigh)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 26 Jun 2015 01:18:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I prefer C too.  C++ to me is the poster child for design-by-committee, like if you asked a Family Feud survey panel what they would like to have added to C and then implemented every single idea. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>But I digress.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Fri, 26 Jun 2015 01:22:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I guess there was a patch someone issued for this problem (in io.h), you can read about the problem here: <a href="http://sourceforge.net/p/mingw/bugs/2104/">http://sourceforge.net/p/mingw/bugs/2104/</a>, which I tried out, but still there are errors...</p><pre>
||=== Build: Debug in Deluxe Pacman 2 (compiler: GNU GCC Compiler) ===|
c:\mingw\include\allegro5\file.h|34|error: expected specifier-qualifier-list before &#39;off_t&#39;|
c:\mingw\include\allegro5\fshook.h|75|error: expected specifier-qualifier-list before &#39;off_t&#39;|
c:\mingw\include\allegro5\fshook.h|101|error: unknown type name &#39;off_t&#39;|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
</pre><p>

I did manage to find some minor problems (unrelated to this) with my own code, so something positive came out of it, but still.  I would love to be able to use a newer version of the library with my C code. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 26 Jun 2015 01:37:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>@Neil Roy<br />According to <a href="http://sourceforge.net/p/mingw/bugs/2046/">http://sourceforge.net/p/mingw/bugs/2046/</a> , off_t (from unistd.h) is not conformant to at least C99, and in your case, C11 as well. It looks like you might be able to fix it by including &quot;sys/types.h&quot; before including allegro headers. That, or #define it yourself, as a long, which is what mingw appears to be using.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 26 Jun 2015 01:37:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What if you try gnu11 rather than c11?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 26 Jun 2015 02:33:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014279#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>What if you try gnu11 rather than c11? </p></div></div><p>

Thank you very much!  This did the trick.  Compiled flawlessly after that.  <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Incidentally, including &quot;sys/types.h&quot;, didn&#39;t make a difference.</p><p>Edit: I have a new problem though!  My game refuses to load in a sound sample which it has always been able to load, it fails to load it then freezes up.</p><p>When I look at the allegro.log file it was 153061 lines long!!!  That&#39;s insane!  My game didn&#39;t even make it all the way through the initialization!  It barely loaded anything.  There&#39;s definitely some bugs with this release.  I would attach the allegro.log but it is over 22megs big! :O  (note: I had deleted the allegro.log file before running this so this was a freshly made log)</p><p>Edit2: I recompiled with MinGW 4.7.0 + Allegro 5.1.8 (though the version displayed in my console says 5.1.9) and it runs flawlessly.  Log file is only 10K lines rather than 156K (and that was with a full load and run and exit).  So... dunno.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 26 Jun 2015 03:38:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That&#39;s because if <u>_STRICT_ANSI</u>_ is defined (which it probably is for C11) then off_t isn&#39;t defined. I didn&#39;t look closely enough. I just grepped for off_t in the include directory. :/
</p><div class="quote_container"><div class="title">sys\types.h said:</div><div class="quote"><p>
</p><div class="source-code"><div class="toolbar"><span class="name">sys\types.h</span><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number"> 66</span><span class="p">#ifndef  _OFF_T_</span>
<span class="number"> 67</span><span class="p">#define  _OFF_T_</span>
<span class="number"> 68</span><span class="k1">typedef</span> <span class="k1">long</span> _off_t<span class="k2">;</span>
<span class="number"> 69</span><span class="p">#ifndef __STRICT_ANSI__</span>
<span class="number"> 70</span><span class="k1">typedef</span> _off_t  off_t<span class="k2">;</span>
<span class="number"> 71</span><span class="p">#endif /* __STRICT_ANSI__ */</span>
<span class="number"> 72</span><span class="p">#endif  /* Not _OFF_T_ */</span>
</div></div><p>
</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 26 Jun 2015 03:45:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Gosh Neil, these releases just have trouble with your game. Is there any way you could share your code, perhaps privately? I&#39;m sure I can solve the problem with a bit of effort. As for the log, I&#39;m sure you can zip it up and it&#39;ll be a lot smaller. After all, it&#39;s all text anyway.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Fri, 26 Jun 2015 07:22:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>&lt;scratch all that&gt; Going to look at this one more time. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Okay, several issues.  I am missing several DLLs, even though I compiled this with the static version of the library.  Some I have, some I do not, but requiring a DLL sort of nullifies the whole idea of a static build.  So far it has required libvorbisfile-3.dll, libvorbis-0.dll, which I had, it also requires libogg-0.dll which I do not have.  </p><p>I compile the debug version with the library: allegro_monolith-debug-static</p><p>So I definitely am using the right one, and all my code is set to static, always has been, works with past versions of Allegro 5 static builds (all premade builds by the way, like this, not my own versions).</p><p>The game fails to load as a result, and then when it goes to exit and shut down the screen, it goes into an endless loop for the following code:</p><p>EDIT: Okay, I solved the freezing problem.  I had the code to shut down the display before the code which frees up the fonts I loaded.  I am not sure why that could cause a problem now and not before, but I moved my code to shut down the screen to the end of my function and it no longer freezes up, so I needed to destroys bitmaps before I destroy the screen I guess.</p><p>Still need those DLL requests gone as this IS static.  Perhaps I will try compiling a non-static version tomorrow as it is now past 4am... argh.  I would like it if there was an up to date release version so I could compile without the allegro.log appearing.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 26 Jun 2015 12:41:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You&#39;re using the binaries and compiler I provided, right? I know about 2 dll dependencies, libstdc++-6.dll and libgcc_s_dw2-1.dll. That is because of the way CMake built them. The option to link statically to the CRT is not available yet. SiegeLord recently added an option to the cmake build system to do this, but it doesn&#39;t work for MinGW yet. So those two dlls still have to be packaged, even with a static build. Sorry about that.</p><p>Now, you said your static build relies on vorbis and ogg dlls? It definitely shouldn&#39;t. The examples and demos I built alongside the static libraries all work and they only rely on the two CRT dlls I mentioned above and OpenAL32.dll. I don&#39;t have a static version of OpenAL built yet, because the cmake build script they provide does not have a static version.</p><p>libogg-0.dll is provided in bin\dlls btw, along with the rest of the dlls.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 26 Jun 2015 17:28:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sounds like you got bit by the dynamic-load issue for allegro_acodec.  By default it tries to dynamically load codecs for its supported formats, you have to clear a flag in CMake (WANT_ACODEC_DYNAMIC_LOAD I think) to disable that.</p><p>I think for the future that option should be disabled for static builds.  Something to consider.</p><p>You can get a fully static build, I have a working one for minisphere (5.1.11 even), the entire game engine is self-contained in a single 2.2mb executable with no dependencies. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Fri, 26 Jun 2015 18:10:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, this was compiled 100% ONLY with what you provided.  I have the MinGW you provided in it&#39;s own folder along with the Allegro you provided in the same folder.  There was no libogg-0.dll in there though... &lt;double checks&gt; I see why I couldn&#39;t find it last night.  There is a dll folder in your main MinGW folder as well as one inside the bin folder <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" />  Let me try this again.</p><p>I can live with needing dlls though, no big deal, but if some are required it should be mentioned somewhere so people aren&#39;t surprised (in that text file about static linking perhaps, for now anyhow).</p><p>&lt;time passes&gt;</p><p>Okay, I ran it again, this time with <span class="source-code">libogg-0.dll</span>, <span class="source-code">libvorbis-0.dll</span> and <span class="source-code">libvorbisfile-3.dll</span> in the same folder and it ran without problems.  I didn&#39;t recompile it to use dlls, just included those for now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 26 Jun 2015 20:21:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Like I said, if you&#39;re building your own statics you have to re-run CMake with the WANT_ACODEC_DYNAMIC_LOAD option cleared.  Then you&#39;ll get a proper static link of all dependencies.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Fri, 26 Jun 2015 20:24:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I rebuilt the two static libraries with that option disabled. Here they are :</p><p><a href="https://www.allegro.cc/files/attachment/609500">https://www.allegro.cc/files/attachment/609500</a></p><p>I&#39;ll update the SF download later today.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 26 Jun 2015 21:39:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014326#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>I rebuilt the two static libraries with that option disabled. Here they are :</p></div></div><p>

Yay!  That worked, many thanks for your work on this.</p><p>Edit: New version up, compiled with this, complete with proper installation program (Windows) etc... if you&#39;re curious.  The game is fully functional, just needs a few things added (multiplayer option etc).  Compiled with Code::Blocks, and the MinGW + Allegro supplied in this thread.</p><p><a href="http://home.cogeco.ca/%7Edeluxe.pacman/zips/DPacman2_2015JUN26.zip">http://home.cogeco.ca/%7Edeluxe.pacman/zips/DPacman2_2015JUN26.zip</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 26 Jun 2015 22:01:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Glad it all works now. Just to be clear, did you compile with the official static binaries and observed that they required the ogg etc DLLs? I thought I fixed that... <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 01 Jul 2015 06:24:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014525#target">SiegeLord</a> said:</div><div class="quote"><p>Glad it all works now. Just to be clear, did you compile with the official static binaries and observed that they required the ogg etc DLLs? I thought I fixed that... <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />. </p></div></div><p>

Yup, I did.  No more DLLs needed.  I don&#39;t keep my DLLs in my system path anywhere just so I can know what is and is not needed.</p><p>The ZIP I linked to is what I compiled with no DLLs and works as is.  I got more work done on it today, so far I am quite pleased with this version.  I may actually get my game done (actually, I got it done today, just bug testing it now).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Sat, 04 Jul 2015 09:50:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have a problem with ex_dualies.<br />When I run it the resolution changes to 640x480 on both my monitors, but don&#39;t came back to the original aspect when I quit.<br />Edit: ex_win_full does the same but only on my main monitor.</p><p>Edit: ex_vertex_buffer textprintf output seems messed up<br /><span class="remote-thumbnail"><span class="json">{"name":"609573","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/d\/3dafb0dcbf63884187fb78f55f8434c2.jpg","w":647,"h":510,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/d\/3dafb0dcbf63884187fb78f55f8434c2"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/3/d/3dafb0dcbf63884187fb78f55f8434c2-240.jpg" alt="609573" width="240" height="189" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 08 Jul 2015 20:02:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014821#target">GullRaDriel</a> said:</div><div class="quote"><p> Edit: ex_vertex_buffer textprintf output seems messed up</p></div></div><p>Can you point out what&#39;s wrong? It seems okay to me.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 08 Jul 2015 20:10:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What&#39;s wrong is the display format of the fps.<br />EDIT: but maybe users are used to see fps in e mode.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 08 Jul 2015 21:08:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Haha, scientific notation for fps.  That&#39;s new. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Pascoe)</author>
		<pubDate>Wed, 08 Jul 2015 22:30:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ah... that was just me wanting FPS with only two significant digits, but being too lazy to write a routine to do that rounding myself.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 09 Jul 2015 06:23:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Somehow scientific notation makes that FPS look so much better! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Thu, 09 Jul 2015 09:14:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I feel like I have a high end computer looking at these numbers. But I have not ! <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Thu, 09 Jul 2015 12:07:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey guys I followed the link, but my download wasn&#39;t the version 5.1.11 but the version 5.0.11. Is it stable? <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Lísias de Castro)</author>
		<pubDate>Thu, 09 Jul 2015 13:50:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I never noticed this until today, because MinGW&#39;s bin folder was in my path (it no longer is).  But when compiling my game, it now says &quot;libgcc_s_dw2-1.dll is missing&quot;, but I statically link it with my game, always have (with &quot;-static&quot; in my linking options, which has always worked with past Allegro libraries, but now this one).  All I can assume is that Allegro 5.1.11 has not been statically linked with libgcc_s_dw2-1.dll?</p><p>I&#39;m starting to require the inclusion of more and more dlls with this build.  I can include this dll if need be, but the static version of this library is definitely broken.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Thu, 09 Jul 2015 22:08:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Neil<br />I told you before, that my build of A5.1.11 depends on OpenAL and the CRT dlls. If you need to know which dlls a program is dependent on, use Dependency Walker. It&#39;s because the option to build the allegro dll with a static crt isn&#39;t available yet through cmake, so even the static versions depend on OpenAL and libgcc_sw2 and libstdc++.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 10 Jul 2015 02:05:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In order to get rid of the mingw dlls, you have to compile/link <i>everything</i> with `-static -static-libgcc -static-libstdc++`
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 10 Jul 2015 02:14:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Right, but Allegro&#39;s cmake doesn&#39;t support that yet. :/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 10 Jul 2015 02:18:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014875#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>Right, but Allegro&#39;s cmake doesn&#39;t support that yet. :/</p></div></div><p>Not that hard to add it <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 10 Jul 2015 02:22:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Actually, cmake does support it, at least when you use cmake-gui... it allows you to edit the used CFLAGS. My speedhack entry I compiled with -static-libgcc -static-libstdc++ which is enough to not depend on any DLLs at all (I didn&#39;t need the -static - but I also don&#39;t know what it would do).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 10 Jul 2015 05:40:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can modify the cflags through the cli and tui interfaces as well.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 10 Jul 2015 05:59:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/615471/1014877#target">Elias</a> said:</div><div class="quote"><p>
Actually, cmake does support it, at least when you use cmake-gui... it allows you to edit the used CFLAGS. My speedhack entry I compiled with -static-libgcc -static-libstdc++ which is enough to not depend on any DLLs at all (I didn&#39;t need the -static - but I also don&#39;t know what it would do). 
</p></div></div><p>
Well that takes care of the CRT and Allegro, but I still can&#39;t build OpenAL statically with cmake.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 10 Jul 2015 07:20:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, as for openal, just disable it... I don&#39;t think anyone created binaries with openal enabled - we mainly have it for osx support only.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Fri, 10 Jul 2015 10:18:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Not a big deal for me.  It would be nice to have no DLLs needed, but including them wasn&#39;t too big a deal.  I appreciate your efforts as is a lot.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Fri, 10 Jul 2015 11:16:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve adjusted my binary package to use debugging examples and to use statically linked monoliths that don&#39;t depend on the CRT or OpenAL anymore, so theoretically no dlls should be needed anymore.</p><p>Get the libs here :<br /><a href="https://www.allegro.cc/files/attachment/609641">
static_libs.7z
</a></p><p>and you&#39;ll have to wait for the debugging examples, since SF won&#39;t let me upload anything at the moment...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 23 Jul 2015 11:27:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>SF is borked <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Thu, 23 Jul 2015 11:51:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>SF pukes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Thu, 23 Jul 2015 14:19:38 +0000</pubDate>
	</item>
</rss>
