<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Building Allegro 5 with dependencies (MSVC)</title>
		<link>http://www.allegro.cc/forums/view/618241</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 28 Sep 2020 01:13:41 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have built the dependency package as found here:<br /><a href="https://github.com/liballeg/allegro_winpkg/releases">https://github.com/liballeg/allegro_winpkg/releases</a></p><p>I copied the built libs into allegro\deps\lib</p><p>On configuring with cmake-gui, I get:</p><pre class="terminal">Found Freetype: C:/Coding/allegro5.src/deps/lib/freetype.lib (found version &quot;2.8.0&quot;) 
Performing Test TTF_COMPILES
Performing Test TTF_COMPILES - Failed
Performing Test TTF_COMPILES_WITH_EXTRA_DEPS
Performing Test TTF_COMPILES_WITH_EXTRA_DEPS - Failed
CMake Warning at addons/CMakeLists.txt:137 (message):
  FreeType doesn&#39;t compile.  Disabling support.</pre><p>

In CMakeError.log (attached) there are lots of errors like this:</p><pre class="terminal">freetype.lib(sfnt.obj) : error LNK2019: unresolved external symbol png_create_read_struct referenced in function Load_SBit_Png [C:\Coding\allegro5.src\build\CMakeFiles\CMakeTmp\cmTC_43fb5.vcxproj]</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Wed, 16 Sep 2020 16:51:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="remote-thumbnail"><span class="json">{"name":"612570","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/b\/1bb001d00b762a2e45ed6b6b8c541da9.png","w":874,"h":495,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/b\/1bb001d00b762a2e45ed6b6b8c541da9"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/1/b/1bb001d00b762a2e45ed6b6b8c541da9-240.jpg" alt="612570" width="240" height="135" /></span></p><p>Check FREETYPE_PNG and FREETYPE_ZLIB</p><p>Then regenerate
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 16 Sep 2020 20:46:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The project now generates. I also had to switch to the 64 bit DirectX libs as it autodetected the 32 bit ones.</p><p>Next issue is allegro_image fails to build:</p><p>2&gt;C:\Coding\allegro5.src\deps\include\zconf.h(477,14): fatal error C1083: Cannot open include file: &#39;unistd.h&#39;: No such file or directory
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Thu, 17 Sep 2020 02:28:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try changing those backslashes in the path to forward slashes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 17 Sep 2020 03:12:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>How did you obtain <span class="source-code">include\zconf.h</span>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 17 Sep 2020 10:55:23 +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/618241/1047367#target">SiegeLord</a> said:</div><div class="quote"><p>How did you obtain include\zconf.h?</p></div></div><p>

Now that you mention it, I have no idea. I replaced the includes with the ones from your package and now it builds successfully.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Thu, 17 Sep 2020 15:32:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Quick question why aren&#39;t you using the nougat package?<br /><img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 18 Sep 2020 08:04:39 +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/618241/1047376#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>Quick question why aren&#39;t you using the nougat package?</p></div></div><p>

I need to incorporate several changes for my game:</p><p>- The fix for &quot;3rd party controller: crash while enumerating buttons, and corrupt instance name&quot; <a href="https://github.com/liballeg/allegro5/issues/1156">https://github.com/liballeg/allegro5/issues/1156</a></p><p>- A fix or workaround for &quot;Joystick lag&quot; <a href="https://github.com/liballeg/allegro5/issues/1026">https://github.com/liballeg/allegro5/issues/1026</a></p><p>- Fix or workarounds for these issues which I&#39;ve just submitted - <br />&quot;Get an XInput controller&#39;s actual name?&quot; <a href="https://github.com/liballeg/allegro5/issues/1171">https://github.com/liballeg/allegro5/issues/1171</a><br />&quot;DirectInput controller button names numbered from 0&quot; <a href="https://github.com/liballeg/allegro5/issues/1172">https://github.com/liballeg/allegro5/issues/1172</a></p><p>- Raise maximum number of DirectInput joysticks – currently 8, but my game technically supports up to 100 players. Highly unlikely to ever be reached or even approached in practice, but I may try for a high number of simultaneous players if I take my game to a show.</p><p>- Enable use of shader model 3 <a href="https://www.allegro.cc/forums/thread/618238">https://www.allegro.cc/forums/thread/618238</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Fri, 18 Sep 2020 17:03:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh, my my. You really do need cutting edge allegro. You know there&#39;s a way to link to dlls or make dlls into .lib files.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 19 Sep 2020 01:29:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When I built Allegro, I noticed that CMake selected the February 2010 DirectX SDK instead of the June 2010 one. Does this matter? The main difference I&#39;m aware of is that the June one does not include ddraw.lib, which was needed for Allegro 4.</p><p>On the interface for Steamworks, there is a page for selecting redistributables which can be installed alongside your game. It has an option for DirectX June 2010, but not February, which perhaps indicates that I can&#39;t guarantee that an end-user will have the correct version of DirectX installed. On the other hand, perhaps this option is for old Windows XP machines, and more modern versions of Windows always have old DirectX versions installed by default?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Sat, 26 Sep 2020 15:17:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Even XP had version 9 of DirectX. It will run from XP on.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Mon, 28 Sep 2020 01:13:41 +0000</pubDate>
	</item>
</rss>
