<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Code::Blocks and Allegro 5</title>
		<link>http://www.allegro.cc/forums/view/614048</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 21 Mar 2014 12:05:47 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I am trying to get allegro 5 to work with c::b.  i followed this tutorial: <a href="http://wiki.allegro.cc/index.php?title=Windows,_Code::Blocks_and_Allegro_5">http://wiki.allegro.cc/index.php?title=Windows,_Code::Blocks_and_Allegro_5</a>.  I have the mingw installed properly with the test at the end of the tutorial.  i am getting this error: &quot;B:\Users\Caton\Desktop\Programming Stuff\Projects\Test Allegro\test.cpp|1|fatal error: allegro.h: No such file or directory|&quot;</p><p>on a side note, i&#39;ve linked libraries before in other IDE&#39;s such as eclipse and visual studio and I was able to resolve my issues but this is proving to be a bit of a stick in the mud.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zarrey)</author>
		<pubDate>Thu, 20 Mar 2014 02:12:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Given the error, the compiler is unable to find the correct include directories.</p><p>You should:</p><ul><li><p>double check you installed Allegro binaries where you think them to be
</p></li><li><p>Check the Include path of your compiler as given in C::B...which means quite a few panels (IIRC compiler options and build target options at least), I&#39;d say the C::B Wiki is a good place to look fo info on how to specify the correct include paths.</p></li></ul><p>If those two are okay I&#39;m a bit clueless, but I might ask for the code of this test.cpp since I cannot find one in the tutorial you linked.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Thu, 20 Mar 2014 03:04:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>allegro.h doesn&#39;t exist because that is allegro version 4. It&#39;s &lt;code&gt;#include &quot;allegro5/allegro.h&quot; now. Look at the wiki tutorials for A5.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 20 Mar 2014 08:57:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>when i changed my code to include allegro 5 header files, it now gives me this:</p><p>||=== Build: Debug in Test Allegro (compiler: GNU GCC Compiler) ===|<br />..\..\Allegro\lib\liballegro-5.0.10-static-mt.a(d3d_display_formats.o):d3d_display_formats.cpp|| undefined reference to `_Unwind_Resume&#39;|<br />..\..\Allegro\lib\liballegro-5.0.10-static-mt.a(d3d_display_formats.o):d3d_display_formats.cpp|| undefined reference to `_Unwind_Resume&#39;|<br />..\..\Allegro\lib\liballegro-5.0.10-static-mt.a(d3d_display_formats.o):d3d_display_formats.cpp:(.eh_frame+0x63)||undefined reference to `__gxx_personality_v0&#39;|<br />||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|</p><p>i can post the code, but all i did was google a helloworld program for allegro5 to try and test the link.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zarrey)</author>
		<pubDate>Fri, 21 Mar 2014 02:43:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Undefined references refer to the linker not finding the libraries, not header files, which would give declaration errors.</p><p>And the &quot;__gxx_personality_v0&quot; is a C++ thing, IIRC I had to compile programs linked against the monolith library as C++ because some library function used it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Fri, 21 Mar 2014 02:47:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>i thought i included all the necessary static libs in the linker options, i included all the -static-xxxxxxx.a libs in the allegro 5 mingw download on this website.  is it missing something that the code i am using is trying to reference?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zarrey)</author>
		<pubDate>Fri, 21 Mar 2014 02:52:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Googling Unwind_Resume mentions android and Darwin.  Maybe you grabbed the wrong libraries?  The Online User page says you&#39;re using windows 7.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Fri, 21 Mar 2014 02:55:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>-static-libgcc</p><p>is this the correct input for &quot;other linker options&quot;?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zarrey)</author>
		<pubDate>Fri, 21 Mar 2014 03:05:57 +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/614048/998160#target">Zarrey</a> said:</div><div class="quote"><p>
||=== Build: Debug in Test Allegro (compiler: GNU GCC Compiler) ===|<br />..\..\Allegro\lib\liballegro-5.0.10-static-mt.a(d3d_display_formats.o):d3d_display_formats.cpp|| undefined reference to `_Unwind_Resume&#39;|<br />..\..\Allegro\lib\liballegro-5.0.10-static-mt.a(d3d_display_formats.o):d3d_display_formats.cpp|| undefined reference to `_Unwind_Resume&#39;|<br />..\..\Allegro\lib\liballegro-5.0.10-static-mt.a(d3d_display_formats.o):d3d_display_formats.cpp:(.eh_frame+0x63)||undefined reference to `__gxx_personality_v0&#39;|<br />||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
</p></div></div><p>
These errors usually come from mis-matched versions of the compiler. Make sure your compiler is the same version as the binaries you downloaded.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 21 Mar 2014 03:07:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>tested my MinGW installation with this website:</p><p><a href="http://www.mingw.org/wiki/Getting_Started">http://www.mingw.org/wiki/Getting_Started</a></p><p>it works like it should.  so i know this is not the problem.  im about to just say screw it and go back to visual studio and allegro 4 <img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" />.</p><p>does allegro5 not support MinGW 4.8?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zarrey)</author>
		<pubDate>Fri, 21 Mar 2014 03:29:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I didn&#39;t say your MinGW was broken, I said the versions were mis-matched. So yeah, you need versions compiled with 4.8.1 which don&#39;t exist yet. So either use MinGW 4.7.0 or compile Allegro 5 yourself.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 21 Mar 2014 04:22:17 +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/614048/998168#target">Zarrey</a> said:</div><div class="quote"><p> does allegro5 not support MinGW 4.8? </p></div></div><p>Of course it does, Allegro is simply source code, do as Edgar said and compile Allegro yourself, it&#39;s easier than it looks.</p><p>Siegelord&#39;s tutorial is a good starting point, <a href="http://wiki.allegro.cc/index.php?title=Install_Allegro5_From_Git/Windows">here</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Fri, 21 Mar 2014 12:05:47 +0000</pubDate>
	</item>
</rss>
