<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 4.9.8 dependencies for Visual Studio 2005/2008 available here.</title>
		<link>http://www.allegro.cc/forums/view/599504</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 13 Mar 2009 04:04:30 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve uploaded a file <a href="http://www.mediafire.com/download.php?ovd2ygrwznt">here</a> which contains all the dependencies (dlls, includes and libs) required to compile Allegro 4.9.8 for Microsoft Visual Studio 2005/2008.</p><p>The zip also contains a batch file which sets the environment variables appropriately.</p><p>A readme.txt included in the file explains everything.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (axilmar)</author>
		<pubDate>Mon, 09 Mar 2009 18:04:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In case anyone wants an alternative build try <a href="http://allegro5.org/index.php?option=com_phocadownload&amp;view=category&amp;id=2:allegro-4.9.8-wip&amp;Itemid=53">here</a>. Also includes allegro in binary form for MSVC.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Mon, 09 Mar 2009 19:11:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Any chance of a supplement to A5&#39;s installation instructions with that information? For the benefit of someone who wants to do this in the future?<br />In case I wasn&#39;t clear when I asked about this the first time: I think that&#39;s a necessary update for the documentation.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Mon, 09 Mar 2009 19:26:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Any chance of a supplement to A5&#39;s installation instructions with that information? For the benefit of someone who wants to do this in the future?<br />In case I wasn&#39;t clear when I asked about this the first time: I think that&#39;s a necessary update for the documentation.
</p></div></div><p>

I think the most important points are:</p><p>1) rename libFLAC.lib to FLAC.lib.<br />2) rename libsndfile-1.lib to sndfile.lib.<br />3) also use vorbisfile.lib.<br />4) set up of the INCLUDE, LIB and PATH environment variables to point to the include files, libraries and dlls respectively. The paths should be added first before any other paths.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (axilmar)</author>
		<pubDate>Mon, 09 Mar 2009 19:47:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
1) rename libFLAC.lib to FLAC.lib.<br />2) rename libsndfile-1.lib to sndfile.lib.
</p></div></div><p>
Manually renaming libraries sounds wrong. Are you sure there aren&#39;t some build settings somewhere that need to be modified instead? What part of the build process fails because it&#39;s looking for FLAC.lib and sndfile.lib instead of the actual libs?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 10 Mar 2009 08:41:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Manually renaming libraries sounds wrong.
</p></div></div><p>

It does not really matter if you rename the library. It&#39;s not the dll that it is renamed, only the &#39;lib&#39; file, which is only used for informing the O/S linker about what symbol the dll contains.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Are you sure there aren&#39;t some build settings somewhere that need to be modified instead?
</p></div></div><p>

I haven&#39;t found anything in the docs. Perhaps the allegro devs can enlighten us.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What part of the build process fails because it&#39;s looking for FLAC.lib and sndfile.lib instead of the actual libs?
</p></div></div><p>

The VS solution file building process (i.e. when you call cmake).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (axilmar)</author>
		<pubDate>Tue, 10 Mar 2009 14:08:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
The VS solution file building process (i.e. when you call cmake).
</p></div></div><p>Right, so we should just fix our FindFLAC.cmake and other files.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 11 Mar 2009 01:49:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I haven&#39;t found anything in the docs.
</p></div></div><p>
That&#39;s why I keep prodding you to submit a documentation patch...</p><p>I agree though, manually renaming libraries sounds wrong. Either there&#39;s a problem with Allegro&#39;s detection scripts, or somehow the installation on your system got messed up.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Wed, 11 Mar 2009 01:54:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Documentation patch or fixing of cmake files?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (axilmar)</author>
		<pubDate>Wed, 11 Mar 2009 18:02:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Where did you get the lib*.lib files from?  MSVC doesn&#39;t use the lib* naming convention, does it, so why should we be adjusting our build system for files that are named incorrectly?  Besides, we just call FIND_LIBRARY which is a built-in macro/function, so if there&#39;s a bug anywhere it&#39;s there, but I highly doubt it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Thu, 12 Mar 2009 03:14:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The FLAC Windows binary package includes: libFLAC.dll, libFLAC.lib, etc.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 12 Mar 2009 03:20:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Maybe it was designed for Mingw?  Anyway, a patch like this might work:</p><div class="source-code snippet"><div class="inner"><pre>diff <span class="k3">-</span><span class="k3">-</span>git a<span class="k3">/</span>cmake<span class="k3">/</span>FindFLAC.cmake b<span class="k3">/</span>cmake<span class="k3">/</span>FindFLAC.cmake
<a href="http://www.delorie.com/djgpp/doc/libc/libc_470.html" target="_blank">index</a> <span class="n">4d2a883</span>..<span class="n">800a34f</span> <span class="n">100644</span>
<span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> a<span class="k3">/</span>cmake<span class="k3">/</span>FindFLAC.cmake
<span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> b<span class="k3">/</span>cmake<span class="k3">/</span>FindFLAC.cmake
@@ <span class="k3">-</span><span class="n">12</span>,<span class="n">7</span> <span class="k3">+</span><span class="n">12</span>,<span class="n">7</span> @@ endif<span class="k2">(</span>FLAC_INCLUDE_DIR<span class="k2">)</span>
 
 find_path<span class="k2">(</span>FLAC_INCLUDE_DIR FLAC<span class="k3">/</span>stream_decoder.h<span class="k2">)</span>
 
<span class="k3">-</span>find_library<span class="k2">(</span>FLAC_LIBRARY NAMES FLAC<span class="k2">)</span>
<span class="k3">+</span>find_library<span class="k2">(</span>FLAC_LIBRARY NAMES FLAC libFLAC<span class="k2">)</span>
 
 <span class="p"># Handle the QUIETLY and REQUIRED arguments and set FLAC_FOUND to TRUE if</span>
 <span class="p"># all listed variables are TRUE.</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Thu, 12 Mar 2009 03:38:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not sure that will work with MinGW.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Thu, 12 Mar 2009 03:45:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
The FLAC Windows binary package includes: libFLAC.dll, libFLAC.lib, etc.
</p></div></div><p>
That&#39;s incredibly <i>stupid</i>.<br />But I guess we&#39;d have to work around that...</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I&#39;m not sure that will work with MinGW.
</p></div></div><p>
Can&#39;t we look for &quot;FLAC&quot; and &quot;libFLAC&quot;, in that order?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Thu, 12 Mar 2009 08:31:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Can&#39;t we look for &quot;FLAC&quot; and &quot;libFLAC&quot;, in that order?
</p></div></div><p>

Yes we could do that.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Thu, 12 Mar 2009 08:40:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That was the intention of my patch (untested).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Thu, 12 Mar 2009 08:55:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>FLAC for Windows can be found here:</p><p><a href="http://sourceforge.net/project/showfiles.php?group_id=13478&amp;package_id=12675&amp;release_id=539572">http://sourceforge.net/project/showfiles.php?group_id=13478&amp;package_id=12675&amp;release_id=539572</a></p><p>It&#39;s the file flac-1.2.1-devel-win.zip.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (axilmar)</author>
		<pubDate>Thu, 12 Mar 2009 14:43:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
That was the intention of my patch (untested).
</p></div></div><p>

I just committed something different but feel free to change it. It does it in a roundabout way but it does work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Fri, 13 Mar 2009 03:01:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I just committed something different but feel free to change it. It does it in a roundabout way but it does work.
</p></div></div><p>I think theres a reason its called <b>NAMES</b> as in its plural.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 13 Mar 2009 04:04:30 +0000</pubDate>
	</item>
</rss>
