<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>C++ game not compiling - identifiers not found for allegro functions</title>
		<link>http://www.allegro.cc/forums/view/616288</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 20 May 2016 20:13:25 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I’m working with my Little Brother to show him C++ game programming, so wanted to load and compile a Pong game in Microsoft Visual Studio Express 2013.</p><p>Referring to this Pong game web-page: <br /><a href="http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong">http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong</a></p><p>I’m trying to get Allegro5 working within Visual Studio 2013. I get errors starting with the “BITMAP *buffer;” line in your pong.c source-code, and then it can’t find the acquire_screen() function and others. See attached debugger window with errors circled. I successfully added Allegro5 to my Project via NuGet with dependencies library too, and enabled all Allegro5 Add-ons and Library Type = Debug-Dynamic, etc.  One error goes away for that 1st line when I change BITMAP to ALLEGRO_BITMAP. But I still get the “identifier not found” with all those allegro library functions, even though I’ve set my MSVS library link path to include allegro.lib, and I’ve installed Allegro5 via NuGet to this Project in MSVS.</p><p>I confirmed Allegro5 is installed correctly and working, by verifying it from these instructions here: <br /><a href="http://stackoverflow.com/questions/33557962/allegro-5-visual-studio-2015">http://stackoverflow.com/questions/33557962/allegro-5-visual-studio-2015</a>.</p><p>So what other Allegro library do I need to resolve those “identifier not found” messages? </p><p>Thanks!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ekalwa)</author>
		<pubDate>Fri, 20 May 2016 19:38:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That game is using Allegro 4, while you have got Allegro 5 <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Fri, 20 May 2016 19:52:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmmm. Thanks for the quick reply! </p><p>But the Allegro website still maintains all those functions like acquire_screen(), circlefill(), etc. So why are they missing in the Allegro5.2 I downloaded and installed via NuGet?</p><p>Are there replacements for all those functions in Allegro5? </p><p>At least I don&#39;t see any instructions for how to replace Allegro4 functions and procedures with Allegro5 ones. Is there a URL somewhere with instructions to upgrade Allegro4 source-code to Allegro5?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ekalwa)</author>
		<pubDate>Fri, 20 May 2016 20:00:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Allegro 5 has a very different API.  There&#39;s no easy way to upgrade from Allegro 4 to Allegro 5.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Niunio)</author>
		<pubDate>Fri, 20 May 2016 20:05:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi and welcome ekalwa!<br />To compile such game made in Allegro4, you can use the files from here : <a href="https://www.allegro.cc/files/?v=4.4">https://www.allegro.cc/files/?v=4.4</a><br />MSVC10 means Visual Studio 2010, I guess you won&#39;t find a more recent one.</p><p>edit: The site still maintains both documentations, sorry that it&#39;s not made clearer, the naming conventions generally give the context : <br />- ALLEGRO_BITMAP, al_something() -&gt; Allegro 5,<br />- BITMAP, create_bitmap() -&gt; Allegro 4.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Fri, 20 May 2016 20:07:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK, great! Thanks to both of you for the recent replies, and link to the Allegro4 downloads.</p><p>Whew!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ekalwa)</author>
		<pubDate>Fri, 20 May 2016 20:13:25 +0000</pubDate>
	</item>
</rss>
