<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Install Allegro 5 on Ubuntu 11.10</title>
		<link>http://www.allegro.cc/forums/view/609001</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 09 Dec 2011 03:06:57 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m newbie in Linux community and i would like to switch from MSVC to Ubuntu and create my projects on Linux.</p><p>Could you please help me to install Allegro 5 on my laptop with 64-bit OS?</p><p>I am not experienced with terminal and all its commands such as make/cmake /build, etc. This is why I can&#39;t figure out how to do installation from this URL &quot;<a href="http://wiki.allegro.cc/index.php?title=Ubuntu_and_Allegro_5">http://wiki.allegro.cc/index.php?title=Ubuntu_and_Allegro_5</a>&quot; and this URL &quot;<a href="http://wiki.allegro.cc/index.php?title=Install_Allegro5_From_SVN/Linux/Debian">http://wiki.allegro.cc/index.php?title=Install_Allegro5_From_SVN/Linux/Debian</a>&quot;. </p><p>Help me please, I&#39;m tired of developing in Windows.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Dvornik)</author>
		<pubDate>Thu, 08 Dec 2011 00:45:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Since nobody else has answered...</p><p>I only have Ubuntu in a virtual machine, so this might not work, but should give you an idea anyway.</p><p>First I downloaded allegro-5.1.0.tar.gz from the &quot;Allegro 5.1.0 released!&quot; thread at <a href="http://www.allegro.cc/forums/thread/608861">http://www.allegro.cc/forums/thread/608861</a> and saved it.</p><p><span class="remote-thumbnail"><span class="json">{"name":"605180","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/5\/85b028d895bacf4da6cef36f28ea4720.png","w":801,"h":603,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/5\/85b028d895bacf4da6cef36f28ea4720"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/8/5/85b028d895bacf4da6cef36f28ea4720-240.jpg" alt="605180" width="240" height="180" /></span></p><p>I made a directory called &quot;progdir&quot; to hold allegro and any other programming junk (not likely in a virtual machine), then copied allegro tarfile to it, and extracted it, then followed the directions in the wiki entry.</p><p><span class="remote-thumbnail"><span class="json">{"name":"605181","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/4\/3417fe3ff365117301529598827cd494.png","w":905,"h":789,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/4\/3417fe3ff365117301529598827cd494"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/3/4/3417fe3ff365117301529598827cd494-240.jpg" alt="605181" width="240" height="209" /></span></p><p>It turned out I didn&#39;t have cmake installed, so I followed <i>those</i> directions and tried it again.</p><p><span class="remote-thumbnail"><span class="json">{"name":"605182","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/0\/3021fdf79a63cbe5b950b4055b8600d8.png","w":905,"h":789,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/0\/3021fdf79a63cbe5b950b4055b8600d8"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/3/0/3021fdf79a63cbe5b950b4055b8600d8-240.jpg" alt="605182" width="240" height="209" /></span><br /><span class="remote-thumbnail"><span class="json">{"name":"605183","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/3\/b38d344e96bf70e53f2048d553b0524d.png","w":1440,"h":900,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/3\/b38d344e96bf70e53f2048d553b0524d"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/b/3/b38d344e96bf70e53f2048d553b0524d-240.jpg" alt="605183" width="240" height="150" /></span></p><p>The cmake command bombed out saying I needed X11 development libraries (forgot to save the screenshot saying so) so I went to System | Administration | Synaptic Package Manager</p><p><span class="remote-thumbnail"><span class="json">{"name":"605184","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/a\/7a82b24bb06c198c6738bdc0998170bd.png","w":816,"h":682,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/a\/7a82b24bb06c198c6738bdc0998170bd"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/7/a/7a82b24bb06c198c6738bdc0998170bd-240.jpg" alt="605184" width="240" height="200" /></span></p><p>and typed in &quot;x11 development&quot; and searched</p><p><span class="remote-thumbnail"><span class="json">{"name":"605185","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/c\/cc21942b6a7e718f6b47e16a1d16fc1b.png","w":1440,"h":900,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/c\/cc21942b6a7e718f6b47e16a1d16fc1b"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/c/c/cc21942b6a7e718f6b47e16a1d16fc1b-240.jpg" alt="605185" width="240" height="150" /></span></p><p>and ran cmake again.  This time it said I lacked OpenGL libs, at which point I got frustrated and quit.  (I already have a5 on my native Slackware)</p><p>This should get you pointed in the right direction anyway.</p><p>[EDIT]</p><p>To wrap up, I would have used the synaptic package manager for OpenGL and whatever else needed every time cmake complained, then (while still in the /home/pepsi/progdir/allegro-5.1.0/build directory) typed &quot;make &lt;enter&gt;&quot;, then &quot;sudo make install &lt;enter&gt;&quot;.  Then you can &quot;cd examples &lt;enter&gt;&quot; and &quot;ls &lt;enter&gt;&quot; to see the executable names of example programs to enjoy.  If some message comes up &quot;can&#39;t find liballeg-umpty-ump.so&quot; or similar, try the &quot;sudo ldconfig &lt;enter&gt;&quot; command to see if that&#39;ll fix it.</p><p>[EDIT2]</p><p>64 bit OS shouldn&#39;t affect anything, it should Just Work <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 08 Dec 2011 05:30:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks, <b>Arthur Kalliokoski</b>, for very constructive and detailed answer. It was just what I was searching for couple of days in the web! Finally!</p><p>If it is not so difficult and you know how to make Code::Blocks work with Allegro (I mean where and what I should add into Code::Blocks&#39; linker, and how to include Allegro libraries into the code) this would be perfect for me.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Dvornik)</author>
		<pubDate>Thu, 08 Dec 2011 06:47:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t use any IDE&#39;s, although I like a windowed debugger such as ddd so I can watch variables without them scrolling off the screen, and they update automatically too.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 08 Dec 2011 06:52:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think more people should know about <a href="http://wiki.allegro.cc/index.php?title=Debian_and_Allegro_5">this</a> little page I put together a while back. It should work for Ubuntu (for the most part) as well as Debian. Lists all the packages you need to build allegro.</p><p>For those using the tarball, the SVN bits of the page can be ignored.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Thu, 08 Dec 2011 07:35:55 +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/609001/939645#target">Andrew Dvornik</a> said:</div><div class="quote"><p>
If it is not so difficult and you know how to make Code::Blocks work with Allegro (I mean where and what I should add into Code::Blocks&#39; linker, and how to include Allegro libraries into the code) this would be perfect for me.
</p></div></div><p>
Menu-&gt;Project-&gt;Build Options :</p><p>Search Directories tab -&gt; Compiler -&gt; Add /usr/local/include here, or wherever you installed allegro&#39;s headers</p><p>Search Directories tab -&gt; Linker -&gt; Add /usr/local/lib here, or wherever you installed the *.a files for allegro.</p><p>Linker Settings tab -&gt; [Link Libraries | Other linker options] -&gt; Add the path to the libraries to link to, or add the linker flags to link to them.</p><p>Link to a library named lib*.a by using -l*, where you replace * with whatever is there in the library name.</p><p>The necessary allegro libraries to link to are named the same as the header you include to use them - for example, <span class="source-code"><span class="p">#include &lt;allegro5/allegro_font.h&gt;</span></span> corresponds to -lallegro_font.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 08 Dec 2011 08:07:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh my God! It works!</p><p>Thanks to everybody involved!</p><p>And on my native language: Щирo вдячний! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Dvornik)</author>
		<pubDate>Fri, 09 Dec 2011 03:06:57 +0000</pubDate>
	</item>
</rss>
