<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro project template for KDevelop</title>
		<link>http://www.allegro.cc/forums/view/513272</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 01 Aug 2005 18:56:29 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>As I reported <a href="http://www.allegro.cc/forums/view_thread.php?_id=513264#target">here</a> I hacked together an Allegro project template for KDevelop.</p><p>Installation goes like this:<br />Put allegro.tar.gz and allegro.png into kdevappwizard/ (*)<br />allegro.kdevtemplate into kdevappwizard/templates</p><p>(*) It seems like this directory location might not be standard. Mine is in <i>usr/share/apps/kdevappwizard</i> but it might also be in $KDEDIR/share/apps/kdevappwizard/<br />It should also be possible to install them in $HOME/.kde/share/apps/kdevappwizard </p><p>I used <a href="http://www.kdevelop.org/HEAD/doc/api/html/howToAddApplicationTemplates.html">this</a> as a reference.</p><p>It still requires &quot;#make distclean&quot; when changing between build configurations. Also it needs &quot;#libtoolize --copy --force&quot; but I think this is a problem with my setup.</p><p>Any help is appreciated.</p><p>[edit]</p><p>Replaced the default generated main.c with slightly edited exhello.c (defaults to windowed mode) and added a new screenshot</p><p>[edit2]</p><p>Removed attatchment, see later posts for newer versions
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (HoHo)</author>
		<pubDate>Thu, 28 Jul 2005 01:19:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>libtoolize --copy --force, I BELIEVE (not sure), simpyl creates some empty text files needed to have a &quot;GNU-style&quot; project. These are, for instance, NEWS, AUTHORS, and ChangeLog. make distclean is needed because you aren&#39;t settings a build dir properly -- that is, you are using the project as the build directory.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Thu, 28 Jul 2005 02:19:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>make distclean is needed because you aren&#39;t settings a build dir properly -- that is, you are using the project as the build directory.</p></div></div><p>Any ideas how to fix this? It was said in wiki that it is needed to be done.</p><p>[edit]</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>libtoolize --copy --force, I BELIEVE (not sure), simpyl creates some empty text files needed to have a &quot;GNU-style&quot; project. These are, for instance, NEWS, AUTHORS, and ChangeLog.</p></div></div><p>Actually it does something different.</p><p>libtoolize --help said that it &quot;Prepares a package to use libtool.&quot;</p><p>When checking the diff of two folders there are three files with big changes:<br />ltmain.sh<br />config.guess<br />config.sub</p><p>I think the problem comes from that kdevelop uses some older version of libtool(or autotoolset?) but in my system I have a later version.</p><p>In ltmain.sh I found this:<br />in default:
</p><ol><li><p>Constants.
</p></li></ol><p>PROGRAM=ltmain.sh<br />PACKAGE=libtool<br />VERSION=1.5a<br />TIMESTAMP=&quot; (1.1240 2003/06/26 06:55:19)&quot;</p><p>in libtoolized one:<br />PROGRAM=ltmain.sh<br />PACKAGE=libtool<br />VERSION=1.5.18<br />TIMESTAMP=&quot; (1.1220.2.246 2005/05/16 10:00:18)&quot;</p><p>[edit]<br />Updated the C template a little and added C++ template(attatched). <br />Installing is a little easier too. Just extract the given .tar.gz into kdevappwizard folder (e.g <i>usr/share/apps/kdevappwizard</i>).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (HoHo)</author>
		<pubDate>Thu, 28 Jul 2005 02:30:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /> Forgot about this thread <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>./configure --builddir=debug to use the debug directory for makefiles and object files<br />./configure --builddir=optimized for optimized for Makefiles and object files.</p><p>You can request a specific version of autotools be invoked. You most likely have 2 on your system. Just address it by its full name, including a version number. (major/minor, no revision)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Mon, 01 Aug 2005 18:56:29 +0000</pubDate>
	</item>
</rss>
