<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 4.4 OSX Lion</title>
		<link>http://www.allegro.cc/forums/view/608825</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 17 Nov 2011 18:49:52 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve been trying to get Allegro to work with xCode 4. I know the 4.x version is limited compared to 5.0, but my group on university only have 5 weeks to make a game, and unfortunately there&#39;s very limited 5.0 help out there.</p><p>so, with that cleared, I&#39;m trying to get this to work. I like xCode and I dont want to install Win7 and MSV10 really. My issue so far has been when I try to make the build, I get to 27% and it say: 
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
[ 27%] Building CXX object CMakeFiles/allegro.dir/src/macosx/quartz.m.o<br />/Users/username/allegro-4.4/src/macosx/quartz.m: In function ‘osx_qz_write_line’:<br />/Users/username/allegro-4.4/src/macosx/quartz.m:62: warning: implicit declaration of function ‘QDDone’<br />/Users/username/allegro-4.4/src/macosx/quartz.m:63: warning: implicit declaration of function ‘LockPortBits’<br />/Users/username/allegro-4.4/src/macosx/quartz.m: In function ‘osx_qz_unwrite_line’:<br />/Users/username/allegro-4.4/src/macosx/quartz.m:80: warning: implicit declaration of function ‘UnlockPortBits’<br />/Users/username/allegro-4.4/src/macosx/quartz.m: In function ‘_make_quickdraw_bitmap’:<br />/Users/username/allegro-4.4/src/macosx/quartz.m:137: warning: implicit declaration of function ‘SetRect’<br />/Users/username/allegro-4.4/src/macosx/quartz.m:138: warning: implicit declaration of function ‘NewGWorld’<br />/Users/username/allegro-4.4/src/macosx/quartz.m:142: warning: implicit declaration of function ‘GetPixBaseAddr’<br />/Users/username/allegro-4.4/src/macosx/quartz.m:142: warning: implicit declaration of function ‘GetPortPixMap’<br />/Users/username/allegro-4.4/src/macosx/quartz.m:142: warning: assignment makes pointer from integer without a cast<br />/Users/username/allegro-4.4/src/macosx/quartz.m:143: warning: implicit declaration of function ‘GetPixRowBytes’<br />/Users/username/allegro-4.4/src/macosx/quartz.m:146: warning: implicit declaration of function ‘DisposeGWorld’<br />/Users/username/allegro-4.4/src/macosx/quartz.m: In function ‘osx_qz_create_video_bitmap’:<br />/Users/username/allegro-4.4/src/macosx/quartz.m:200: error: ‘useDistantHdwrMem’ undeclared (first use in this function)<br />/Users/username/allegro-4.4/src/macosx/quartz.m:200: error: (Each undeclared identifier is reported only once<br />/Users/username/allegro-4.4/src/macosx/quartz.m:200: error: for each function it appears in.)<br />/Users/username/allegro-4.4/src/macosx/quartz.m: In function ‘osx_qz_create_system_bitmap’:<br />/Users/username/allegro-4.4/src/macosx/quartz.m:210: error: ‘useLocalHdwrMem’ undeclared (first use in this function)<br />/Users/username/allegro-4.4/src/macosx/quartz.m: In function ‘osx_qz_blit_to_self’:<br />/Users/username/allegro-4.4/src/macosx/quartz.m:251: warning: implicit declaration of function ‘CopyBits’<br />/Users/username/allegro-4.4/src/macosx/quartz.m:251: warning: implicit declaration of function ‘GetPortBitMapForCopyBits’<br />make[2]: *** [CMakeFiles/allegro.dir/src/macosx/quartz.m.o] Error 1<br />make[1]: *** [CMakeFiles/allegro.dir/all] Error 2<br />make: *** [all] Error 2</p></div></div><p>

I downloaded the 4.4 from the SVN rep. </p><p>This Allegro has been a rather tedius install on mac compared to MSV10 :/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Tquila)</author>
		<pubDate>Thu, 17 Nov 2011 01:29:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My understanding is that Apple finally removed the deprecated API that Allegro 4 uses in OS X Lion (it already didn&#39;t work in 64 bit mode in earlier versions).<br />That means there is no way to make it work unless you&#39;re willing to invest the time to make a new Cocoa-based backend for Allegro, which will very likely take you more than the 5 weeks you have. So you know, people have looked into it and decided that it was easier to port their program to Allegro 5 instead.</p><p>Your best bet is to use Allegro 5 (or something else entirely, but of course I&#39;ll recommend Allegro) and ask for pointers here.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Thu, 17 Nov 2011 03:20:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ah bugger. I was all for Allegro5, and in fact I voted for it and actually managed convince my group that it was better (and I/they still believe so). However, my fellow study mates has plenty issues installing it and getting it to work, not to mention that they fancied the ekstra tutorials around (albeit imo the reference is enough) and in the end I got voted down.</p><p>So unfortunately I don&#39;t think I can convince them to go Allegro5 :/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Tquila)</author>
		<pubDate>Thu, 17 Nov 2011 03:34:32 +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/608825/937584#target">Tquila</a> said:</div><div class="quote"><p>plenty issues installing it and getting it to work,</p></div></div><p>
Such as...?</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>not to mention that they fancied the ekstra tutorials around</p></div></div><p>
Again, you can always ask here.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Thu, 17 Nov 2011 12:18:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When will the A4-running-on-A5 be ready? It would be a solution as well <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Thu, 17 Nov 2011 16:22:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Some time after someone finds the time to work on it? <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Yes, that would be the ideal solution.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Thu, 17 Nov 2011 17:07:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I guess a good starting point would be taking all the A4 examples and the current a4_aux.c/.h and add a simple build system linking against A5. Then put it all somewhere. Maybe github.</p><p>Then everyone who wants to could add small improvements and send pull requests. At some point the first example would compile. Then more and more of them could be fixed. In the end including a4_aux.c/a4_aux.h to any A4 project and linking against the A5 libraries would be enough to rebuild.</p><p>On the other hand it would be pointless if I start working on that since I dislike the A4 API so much, after just working on the first example for 5 minutes I&#39;d again come to the conclusion that converting any A4 code to A5 is a better idea <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Thu, 17 Nov 2011 18:49:52 +0000</pubDate>
	</item>
</rss>
