<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Library Setup for Eclipse</title>
		<link>http://www.allegro.cc/forums/view/618770</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 19 Jan 2023 19:53:14 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I haven&#39;t programmed in a couple years.  Last time I used Allegro 4.  Now I&#39;m trying Allegro 5.  There are numerous .so files.  To just do a hello world type program, which file should I use?  <br />I was trying liballegro.so in hopes it call additional libs as needed. Is this the correct file?  It&#39;s located under //usr/lib/x86_64-linux-gnu. <br />On top of that, I can&#39;t get Eclipse to recognize it.   <br />Any help would be greatly appreciated.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AceBlkwell)</author>
		<pubDate>Tue, 10 Jan 2023 02:14:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The official and repo binaries come as a set of addons. You need to link every one that your program uses.</p><p>If you build allegro yourself, you can build a monolithic .so file that includes core allegro and all the addons bundled with it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 10 Jan 2023 20:40:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks Edgar,</p><p>I installed using Ubuntu PPA.  I&#39;m guessing that&#39;s using binaries given I didn&#39;t see it compiling anything. </p><p>I thought I seen a listing of the libraries and what they are used for.  I can&#39;t recall where I found them but I&#39;ll run across it somewhere. However, is there a &quot;main&quot; file or are there a different file for each init, keyboard, video, etc. </p><p>I&#39;ll figure out Eclipse&#39;s set up eventually but I need to make sure I&#39;m trying to link an actual library file.  </p><p>Thanks again and sorry for my limited familiarity. </p><p>In reference to another thread on this site, this is why some of us older DOS guys stay with A4 <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=";D" border="0" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AceBlkwell)</author>
		<pubDate>Tue, 10 Jan 2023 21:10:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For a simple hello world you&#39;ll likely want just allegro, unless it&#39;s graphical text in which case you might want font and ttf addons. Then if you want to draw, there&#39;s the primitives addon. There is also an audio addon, acodec addon, color addon, image addon, and a few more :</p><p><span class="remote-thumbnail"><span class="json">{"name":"613295","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/2\/f2122508f3871fb960c688f908e5658c.png","w":987,"h":474,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/2\/f2122508f3871fb960c688f908e5658c"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/f/2/f2122508f3871fb960c688f908e5658c-240.jpg" alt="613295" width="240" height="115" /></span></p><p>What does eclipse expect for the linker? A file path? Just add the .so files to the link libraries, or add in -lNAME linker options for gcc and set the link directory using -L &quot;/usr/lib/local&quot;. Or if you like pain, use pkg-config.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 11 Jan 2023 04:03:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Edgar, </p><p>I got it working yesterday.  I was entering library name wrong into the linker section of eclipse. Between using/dropping the .so and adding/removing lib along with wrong filename altogether I never hit the right combination.   I eventually found the right file and dropped the lib and .so.   Worked fine.  </p><p>In just testing the waters, I included the primitive addon as well and it worked fine.  I appreciate the help.  Now to tackle event programming.   Any suggestions on tutorials?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AceBlkwell)</author>
		<pubDate>Wed, 11 Jan 2023 19:21:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For beginners, I recommend Vivace on the wiki. For those who need more condensed code, try the example program&#39;s source code on github.</p><p><a href="https://github.com/liballeg/allegro_wiki/wiki/Allegro-Vivace">https://github.com/liballeg/allegro_wiki/wiki/Allegro-Vivace</a></p><p><a href="https://github.com/liballeg/allegro5/tree/master/examples">https://github.com/liballeg/allegro5/tree/master/examples</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 11 Jan 2023 21:51:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have a <a href="https://www.youtube.com/watch?v=qi3azQEvPbY&amp;ab_channel=ProgrammingWithDan">video</a> on YouTube with a basic framework. The <a href="https://github.com/dlharmon911/Framework/tree/master/Framework">source</a> is on Github.</p><p>If you want to try it.</p><p>While I use MSVS, the code &#39;should&#39; work with other compilers.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DanielH)</author>
		<pubDate>Thu, 12 Jan 2023 22:21:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey Thx Edgar and DanielH. I appreciate the direction.  I&#39;ll give these a try.  Sorry for the delay in responding.   Was sure the thread would have been locked by now <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=";D" border="0" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AceBlkwell)</author>
		<pubDate>Thu, 19 Jan 2023 19:53:14 +0000</pubDate>
	</item>
</rss>
