<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>AMGC2 Loader</title>
		<link>http://www.allegro.cc/forums/view/585675</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 07 Jun 2006 19:42:10 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I wrote a command line utility to load <a href="http://members.allegro.cc/miran/amgc2.html">AMGC2</a> plugins, making it easier for me to test and develop new plugins without having to load the GUI each time. The benefit of course is that it doesn&#39;t require me to use MASkinG and allows me to play the game. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /><br />I&#39;ve tested it with all the plugins on Miran&#39;s page and they all work except Blocks and Chess.<br />This is not to circumvent Miran&#39;s work however and for the full experience it&#39;s recommended that you use AMGC2. But it could help others that don&#39;t have MASkinG or no desire to install it to play and enjoy the games. And hopefully entice other developers into creating more content for AMGC2.<br />For more information check the page below or the archive.</p><p>Links:<br /><a href="http://chasm.hopto.org/node/43">Web Page</a><br /><a href="http://chasm.hopto.org/files/active/0/amgc2load.tar.gz">source</a></p><p>Feedback is appreciated. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p><b>[edit]</b><br />Added the archive in case the links don&#39;t resolve.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Tue, 30 May 2006 13:06:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice. The links don&#39;t seem to work though. Could be a firewall thing on my side...</p><p>Anyway, the games are basically just plugins and IGame.h fully defines the interface, so yeah, anyone can make a client. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> I assume yours just plays the games and doesn&#39;t do any fancy stuff like settings and highscores?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Tue, 30 May 2006 13:31:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Updated the links, hopefully they&#39;ll go through.<br />If not then there&#39;s probably an issue with no-ip.com.</p><p>It does offer a menu for doing the settings and save them in a .cfg file. You can also create key bindings manually for it like you do in amgc2 in the .cfg file. I don&#39;t see the need for keeping highscores so I left that out. It does however print out your highscore on the cl when you are done. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>One thing to note is that many of the games, mine included, are dependant on the location from which they are started. ie they look for their data files and what not in ./games/pluginname<br />so most of them need to be setup just like they were setup to be used in AMGC2.<br />I was hoping that the SetGamePath() and game_path were to be used for that reason, that way plugins can just use &quot;game_path + resource&quot; to load their data and there wouldn&#39;t be a problem. But that&#39;s just hopefull wishing. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Tue, 30 May 2006 13:50:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The thing is I only added SetGamePath (is that what it&#39;s called? I forget) not long ago, in one of the most recent versions. So most of the games don&#39;t use it and still assume to be located where the author put them...</p><p>EDIT: Links still don&#39;t work for me. I just get &quot;loading ...&quot; in the browser status bar and it never stops... <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /> EDIT: Actually it&#39;s &quot;waiting for &lt;your ip&gt; ...&quot;
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Tue, 30 May 2006 13:56:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
The webpage works for me.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Tue, 30 May 2006 14:06:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Miran: ok I attached the archive in the first post. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Tue, 30 May 2006 14:11:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>As I said, could be a firewall thing on my side. I&#39;m at work and there are some pretty paranoid people here, so half the internet doesn&#39;t work half the time...</p><p>EDIT: I get this when running buildme.bat:
</p><pre>
Creating directory obj/...
Creating directory dep/...
Building...
Compiling main.cpp...
Linking amgc2load.exe...
c:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x
97):main.c: undefined reference to `WinMain@16&#39;</pre><p>

EDIT: Adding END_OF_MAIN() fixed that. It works <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> but it crashes on shutdown... <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Tue, 30 May 2006 14:22:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oops forgot to add END_OF_MAIN()<br />I&#39;ll fix that and update, haven&#39;t tested it out on anything but linux. <br />Thanks. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p><b>[edit]</b><br />Ok fixed the END_OF_MAIN()<br />miran:<br />Hmm crashes on exit? Doing what exactly?<br />After loading a game?<br />I&#39;ve added some of your DEBUG(&quot;main.log&quot;) messages to the main.cpp.<br />Recompile with &quot;buildme.bat debug&quot; (you might need to do buildme.bat clean first) and then try running again and post the main.log please. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Tue, 30 May 2006 14:29:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When I build in debug mode it says it can&#39;t load the dll... <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /></p><p>Otherwise this is what it prints:
</p><pre>
Initiating Allegro
Loading game numbers.dll
Successfully loaded Numbers
This plugin has no configuration settings
Couldn&#39;t init sound. Please check your configuration
Disabling sound
Opening in window
Allocating screen buffer
Please wait while game initiates . . . . . done!
Your score was: 1
Unloading Resources
Shutting down
</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Tue, 30 May 2006 15:47:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmmm, when I get a chance I&#39;ll get my other box and play around with it on windows. So far that looks fine btw, could be problematic when deleting the game from memory, I&#39;ll need to check on that. But I assume the game otherwise plays fine? <br />Thanks again. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Tue, 30 May 2006 19:53:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m home now, on Linux, and the program doesn&#39;t work! Any game I try it says this:
</p><pre>
Loading game template.so
Failed to load games/template/template.so
</pre><p>
Doesn&#39;t matter if I build in debug or normal mode. When run in debug mode the main.log file looks like this:
</p><pre>
main.cpp, main (203)
amgc2_wrapper.h, GetPlugin (319)
amgc2_wrapper.h, GetPlugin (322)
amgc2_wrapper.h, Plugin (244)
amgc2_wrapper.h, Load (262)
amgc2_wrapper.h, Load (265)
amgc2_wrapper.h, Load (274)
amgc2_wrapper.h, Load (280)
amgc2_wrapper.h, Load (289)
amgc2_wrapper.h, Load (294)
amgc2_wrapper.h, Plugin (246)
main.cpp, main (218)
</pre><p>
I just compiled the source, put the binary in the AMGC directory and ran it with <tt>amgc2loader games/template/template.so</tt>. Doing the same on windows works (although I haven&#39;t tried all games) except for crashing on exit...</p><p>Btw, I noticed the following passage in your readme.txt:
</p><div class="quote_container"><div class="title">readme.txt said:</div><div class="quote"><p>

The benefit of course is that you don&#39;t need to<br />have MASkinG installed to play games. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div></div><p>
I&#39;d just like to say that you don&#39;t need to have MASkinG installed to play games with the original AMGC2 either. You just need MASkinG if you want to build the source code, which is only really applicable on Linux...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Tue, 30 May 2006 20:06:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">juvinious said:</div><div class="quote"><p>

(...) they all work except Blocks (...)
</p></div></div><p>
Curse my metal body, I didn&#39;t update to the latest AMGC2 interface.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Tue, 30 May 2006 20:18:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think you don&#39;t need to change anything in the code, just recompile. The zip on the AMGC2 homepage has a windows exe that is already compiled with the latest specification. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Tue, 30 May 2006 20:20:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm I figured out why it crashes on exit. Deleting the module from outside is not a good idea, which I was doing. You do include a creational method:
</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">extern</span> <span class="s">"C"</span> DLLEXPORT IGame<span class="k3">*</span> GetPlugin<span class="k2">(</span><span class="k2">)</span> 
<span class="k2">{</span>
  <span class="k1">return</span> <span class="k1">new</span> somegame<span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>

It would be nice to add an additional:
</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">extern</span> <span class="s">"C"</span> DLLEXPORT <span class="k1">void</span> DestroyPlugin<span class="k2">(</span>IGame <span class="k3">*</span>game<span class="k2">)</span>
<span class="k2">{</span>
        <span class="k1">delete</span> game<span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
It&#39;s recommended that deletion take place from inside the module just to play it safe.</p><p>Oh and about not having MASkinG installed, I was more referring to having the entire AMGC2 installed and having to load the GUI each time to play/test a plugin. Which is what my utility allows me to do. I&#39;ll reword it...</p><p>And the crashes loading plugins on linux seem to be a pain and consistent.<br />Currently I&#39;m pulling code from amgc&#39;s source and dumping into one file. Which could be that I might be overlooking something. I&#39;m going to fix this and not extract code, but include from off the amgc2 source directory and use the methods directly where possible or wrap them. This will probably prevent any failures/incompatibilities between the two and will keep the source consistent with the latest amgc2.<br />Thanks again. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Wed, 31 May 2006 02:25:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
It&#39;s recommended that deletion take place from inside the module just to play it safe.
</p></div></div><p>
Yeah, you&#39;re right. I&#39;ll make it so in the next revision while trying to keep backwards compatibility. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
And the crashes loading plugins on linux seem to be a pain and consistent.
</p></div></div><p>
They&#39;re not crashes, the plugins simply fail to load. I took a look at your code and it doesn&#39;t seem like you&#39;re doing anything any different than me. I really have no idea why simply loading a .so wouldn&#39;t work in your program when almost identical code works just fine for me. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Wed, 31 May 2006 09:47:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Do either of you check dlerror for the reason the plugins are failing to load?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 31 May 2006 10:04:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>There is dlerror? <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /> <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Wed, 31 May 2006 13:28:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes sir: <br /><a href="http://www.isotton.com/howtos/C++-dlopen-mini-HOWTO/C++-dlopen-mini-HOWTO.html">Check me out</a>.</p><p><b>[edit]</b><br />*** just to clarify it&#39;s just an example of it in use, if you want more information check out the man pages.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Wed, 31 May 2006 13:35:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I grepped through juvi&#39;s code, and didn&#39;t find one, so I had to ask.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 31 May 2006 13:56:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I updated the source to work mostly off of amgc2&#39;s source so you are going to need to have it to compile it, which will hopefully eliminate most if not all incompatibility issues.<br />The script will automatically grab what it needs under *nix systems and build it. On windows you are going to have to manually attain the source tarball and extract it somewhere then pass the src dir with &quot;buildme.bat --dir c:\somedir\amgc2\src&quot;.<br />Follow the instructions in the README file.<br /><img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /><br />The links and the attachment in the first post have been updated.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Thu, 01 Jun 2006 08:52:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Attached is the fixed version of Blockman, runs fine with AMGC2 Loader (tried MingW), except... the loader seems to reset and/or ignore the configuration ?<br />Blockman attempts to WRITE in the config file to save the last played level.</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/push_config_state" target="_blank"><span class="a">push_config_state</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="k1">char</span> path<span class="k2">[</span><span class="n">1024</span><span class="k2">]</span><span class="k2">;</span>
<a href="http://www.delorie.com/djgpp/doc/libc/libc_732.html" target="_blank">snprintf</a><span class="k2">(</span>path, <span class="k1">sizeof</span><span class="k2">(</span>path<span class="k2">)</span>, <span class="s">"%s%s.cfg"</span>, game_path, GetName<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/set_config_file" target="_blank"><span class="a">set_config_file</span></a><span class="k2">(</span>path<span class="k2">)</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/set_config_int" target="_blank"><span class="a">set_config_int</span></a><span class="k2">(</span><span class="s">"settings"</span>, blocks_settings<span class="k2">[</span><span class="n">1</span><span class="k2">]</span>.name, blocks_settings<span class="k2">[</span><span class="n">1</span><span class="k2">]</span>.value<span class="k2">)</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/pop_config_state" target="_blank"><span class="a">pop_config_state</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
Works fine, and is generic enough to suit any installation (game_path and GetName())
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Thu, 01 Jun 2006 22:46:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Still doesn&#39;t work on linux. But now it says it failed to load .so (any .so I try, doesn&#39;t matter which) and then crashes...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Thu, 01 Jun 2006 22:51:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ok I&#39;ve updated it once again. Fixed tons of stuff and cleaned up the code. It&#39;s at version 1.8.</p><p>Audric: Blocks works great and the configurations save correctly now with the latest changes. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>miran: I&#39;m developing this in linux, I don&#39;t know what could be wrong. It re-uses your amgc2 code to properly handle the plugins. Could you try the latest version and see if it fixes any issues? Could be that the plugins need to be recompiled?</p><p>Thanks all. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Fri, 02 Jun 2006 06:25:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll test when I get home this afternoon. I don&#39;t think anything needs to be recompiled because I recompile AMGC at the same time as your loader and it works while your loader doesn&#39;t. It&#39;s really weird... <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /></p><p>EDIT: Now it prints a different set of messages but basically still doesn&#39;t work:
</p><pre>
Initiating Allegro
Opening in window
Please wait while game initiates...
Loading game template.so
Failed to load template.so

Oops! There was a problem with the plugin
Terminating
Unloading Resources
Shutting down
</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Fri, 02 Jun 2006 20:45:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That is very strange it shouldn&#39;t have a problem, especially if the plugins are being built against the same source.<br />Well hopefully the latest one works for you, if not I&#39;m at a loss and I can only guess the best thing to do is to put in some more error checking for the .so loading routine. Also evaluating where specifically it&#39;s crashing might help too.</p><p><b>[edit]</b><br />Hmm I just posted and it seems you did too.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
EDIT: Now it prints a different set of messages but basically still doesn&#39;t work:<br /> <br />Initiating Allegro<br />Opening in window<br />Please wait while game initiates...<br />Loading game template.so<br />Failed to load template.so</p><p>Oops! There was a problem with the plugin<br />Terminating<br />Unloading Resources<br />Shutting down
</p></div></div><p>

template.so? <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /><br />template.so isn&#39;t loading then.<br />Hmm could be a problem with cwd and paths, I had issues with that before I thought I fixed it. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /><br />Try passing &#39;amgc2load ./template.so&#39;<br />Because if the plugin loaded fine it would have given you another error msg.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Fri, 02 Jun 2006 20:55:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Still the same. If you print out the value dlerror() returns like Thomas said, it can help a bit. I added that in my copy and here&#39;s what it reports after failing to load the .so:</p><p><tt>./amgc2load: undefined symbol: GetPlugin</tt></p><p>Which is weird. But it gets even more weird if I compile your program manually with <tt>g++ -o amgc2load main.cpp -I../src/ -ldl `allegro-config --libs`</tt>:</p><p><tt>&#65533;@: cannot open shared object file: No such file or directory</tt></p><p>Only if I compile with -O2, I get the first error. So maybe it&#39;s something about the way it&#39;s compiled. Maybe something doesn&#39;t get linked in properly?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Fri, 02 Jun 2006 21:21:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm maybe it&#39;s a name conflict. I didn&#39;t realize that the export &quot;C&quot; is GetPlugin for the loader and I&#39;m using that as well.<br />I just changed it to loadPlugin throughout hopefully that&#39;s the problem.<br />I uploaded it with the changes to the first post.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Fri, 02 Jun 2006 21:34:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Makes no difference.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Fri, 02 Jun 2006 21:40:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" /><br />There is no hope.<br />Missing libraries?<br />What distro?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Fri, 02 Jun 2006 21:43:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
There is no hope.
</p></div></div><p>
<img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" />
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Missing libraries?
</p></div></div><p>
What could be missing?
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What distro?
</p></div></div><p>
FC5_x64, but what could that have to do with anything? My code works when I use it, but not when you use it... <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>EDIT: I made a little test program which works like your loader. It includes IGame.h and plugin.h from the AMGC2 source dir and uses them to load a plugin specified with the command line and prints out plugin info i n an Allegro window. Analyze it and see what you&#39;re doing differently, because this program works just fine for me.
</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="p">#include &lt;plugin.h&gt;</span></td></tr><tr><td class="number">2</td><td><span class="p">#include &lt;IGame.h&gt;</span></td></tr><tr><td class="number">3</td><td>&#160;</td></tr><tr><td class="number">4</td><td><span class="k1">int</span> main<span class="k2">(</span><span class="k1">int</span> argc, <span class="k1">char</span> <span class="k3">*</span><span class="k3">*</span>argv<span class="k2">)</span> <span class="k2">{</span></td></tr><tr><td class="number">5</td><td>  <span class="k1">if</span> <span class="k2">(</span>argc <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">2</span><span class="k2">)</span> <span class="k2">{</span></td></tr><tr><td class="number">6</td><td>    IGame <span class="k3">*</span>game <span class="k3">=</span> <span class="k3">*</span><span class="k2">(</span><span class="k1">new</span> Plugin<span class="k3">&lt;</span>IGame&gt;<span class="k2">(</span>argv<span class="k2">[</span><span class="n">1</span><span class="k2">]</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">7</td><td>    <span class="k1">if</span> <span class="k2">(</span>game<span class="k2">)</span> <span class="k2">{</span></td></tr><tr><td class="number">8</td><td>      <a href="http://www.allegro.cc/manual/allegro_init" target="_blank"><span class="a">allegro_init</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">9</td><td>      <a href="http://www.allegro.cc/manual/set_color_depth" target="_blank"><span class="a">set_color_depth</span></a><span class="k2">(</span><span class="n">32</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">10</td><td>      <a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>GFX_AUTODETECT_WINDOWED, <span class="n">400</span>, <span class="n">32</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">11</td><td>      <a href="http://www.allegro.cc/manual/install_keyboard" target="_blank"><span class="a">install_keyboard</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">12</td><td>      <a href="http://www.allegro.cc/manual/textprintf_ex" target="_blank"><span class="a">textprintf_ex</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <a href="http://www.allegro.cc/manual/font" target="_blank"><span class="a">font</span></a>, <span class="n">0</span>,  <span class="n">0</span>, <span class="k3">-</span><span class="n">1</span>, <span class="k3">-</span><span class="n">1</span>, <span class="s">"name: %s"</span>, game-&gt;GetName<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">13</td><td>      <a href="http://www.allegro.cc/manual/textprintf_ex" target="_blank"><span class="a">textprintf_ex</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <a href="http://www.allegro.cc/manual/font" target="_blank"><span class="a">font</span></a>, <span class="n">0</span>,  <span class="n">8</span>, <span class="k3">-</span><span class="n">1</span>, <span class="k3">-</span><span class="n">1</span>, <span class="s">"author: %s"</span>, game-&gt;GetAuthor<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">14</td><td>      <a href="http://www.allegro.cc/manual/textprintf_ex" target="_blank"><span class="a">textprintf_ex</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <a href="http://www.allegro.cc/manual/font" target="_blank"><span class="a">font</span></a>, <span class="n">0</span>, <span class="n">16</span>, <span class="k3">-</span><span class="n">1</span>, <span class="k3">-</span><span class="n">1</span>, <span class="s">"description: %s"</span>, game-&gt;GetDescription<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">15</td><td>      <a href="http://www.allegro.cc/manual/textprintf_ex" target="_blank"><span class="a">textprintf_ex</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <a href="http://www.allegro.cc/manual/font" target="_blank"><span class="a">font</span></a>, <span class="n">0</span>, <span class="n">24</span>, <span class="k3">-</span><span class="n">1</span>, <span class="k3">-</span><span class="n">1</span>, <span class="s">"version: %s"</span>, game-&gt;GetVersion<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">16</td><td>      <span class="k1">delete</span> game<span class="k2">;</span></td></tr><tr><td class="number">17</td><td>      <a href="http://www.allegro.cc/manual/readkey" target="_blank"><span class="a">readkey</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">18</td><td>    <span class="k2">}</span></td></tr><tr><td class="number">19</td><td>  <span class="k2">}</span></td></tr><tr><td class="number">20</td><td>  </td></tr><tr><td class="number">21</td><td>  <span class="k1">return</span> <span class="n">0</span><span class="k2">;</span></td></tr><tr><td class="number">22</td><td><span class="k2">}</span></td></tr><tr><td class="number">23</td><td><a href="http://www.allegro.cc/manual/END_OF_MAIN" target="_blank"><span class="a">END_OF_MAIN</span></a><span class="k2">(</span><span class="k2">)</span><span class="k2">;</span></td></tr></tbody></table></div></div><p>
And here&#39;s the makefile too. I use the same makefile to compile your loader as well. (note: I keep the source code in a directory under the AMGC2 dir)
</p><div class="source-code snippet"><div class="inner"><pre>CFLAGS <span class="k3">=</span> <span class="k3">-</span>s <span class="k3">-</span>O2 <span class="k3">-</span>W <span class="k3">-</span>Wall <span class="k3">-</span>I..<span class="k3">/</span>src<span class="k3">/</span>

LIBS <span class="k3">=</span> \
  <span class="k3">-</span>ldl\
   `allegro-config <span class="k3">-</span><span class="k3">-</span>libs`

all: main.cpp
  g<span class="k3">+</span><span class="k3">+</span> <span class="k3">-</span>o ..<span class="k3">/</span>testload main.cpp $<span class="k2">(</span>CFLAGS<span class="k2">)</span> $<span class="k2">(</span>LIBS<span class="k2">)</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Fri, 02 Jun 2006 21:55:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I do exactly the same thing except for two things:<br />I install the keyboard before set_color_depth(32) and I don&#39;t use -ldl in my build flags.<br />Did you try getting info for a plugin through the command line?<br />./amgc2load plugin.so -i<br />It prints the same information to the console.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Sat, 03 Jun 2006 04:44:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I downloaded the loader thing yesterday sometime, and it works fine here.</p><p>I repeat, IT WORKS HERE. These are the steps I followed:<br />1. downloaded amgc2load<br />2. ran the amgc2 compile script<br />3. CDed into the res/amgc2/games/tetris folder<br />4. typed &quot;make&quot;<br />5. CDed back to the base amgc2load folder<br />6. ran: ./amgc2load res/amgc2/games/testris/tetris.so<br />7. PROFIT!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 03 Jun 2006 05:00:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I install the keyboard before set_color_depth(32) and I don&#39;t use -ldl in my build flags.
</p></div></div><p>
It doesn&#39;t matter, the same happens if I build with your cbuild script or my makefile.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Did you try getting info for a plugin through the command line?<br />./amgc2load plugin.so -i<br />It prints the same information to the console.
</p></div></div><p>
No difference. The error occurs when loading the .so.</p><p>Thomas: Yes, that&#39;s how it&#39;s supposed to be. But for some reason this doesn&#39;t work for me in Linux (it works in Windows though)...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Sat, 03 Jun 2006 18:57:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Time to check the linker version ?<br />For mingw I have:<br />$ ld -v<br />GNU ld version 2.15.91 20040904</p><p>$ gcc -v<br />Reading specs from C:/MSYS/mingw/bin/../lib/gcc/mingw32/3.4.5/specs<br />Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug<br />Thread model: win32<br />gcc version 3.4.5 (mingw special)</p><p>amgc2 loader is useful, by the way, since amgc2 spends a noticeable time scanning the directories for all games (listing them in text mode, white text on black background, was a bit too much, I think) So the loader is valuable for quicker testing during development. Can even run it from the makefile <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Sat, 03 Jun 2006 20:40:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
amgc2 loader is useful, by the way, since amgc2 spends a noticeable time scanning the directories for all games (listing them in text mode, white text on black background, was a bit too much, I think)
</p></div></div><p>
That&#39;s only really applicable in Windows. In Linux all the plugins are scanned so quickly you never even see that printout <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Sat, 03 Jun 2006 20:49:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Thomas: Yes, that&#39;s how it&#39;s supposed to be. But for some reason this doesn&#39;t work for me in Linux (it works in Windows though)...
</p></div></div><p>Then maybe theres something wrong with YOUR system? Seems to work for several other people.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sun, 04 Jun 2006 10:31:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, yeah, it looks like it...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Sun, 04 Jun 2006 13:31:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That&#39;s the pita of binary based distros.<br />You wouldn&#39;t have that problem if you were using a real distro. *cough *cough gentoo. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Anyhow, I&#39;ve updated my missle defend clone to use game_path so that it can be loaded in any directory. It&#39;s attached, if not you can grab it from its <a href="http://chasm.hopto.org/node/29">page</a>.</p><p>Now if we can get the other plugin developers to update their plugins to use the game_path, my loader will be easier to use. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Mon, 05 Jun 2006 02:39:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Did you by mistake put the wrong source in the tar.gz you attached to your last post? Because your code crashes. Guess what is wrong. Here&#39;s a small hint:
</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="c">//...snip...</span></td></tr><tr><td class="number">2</td><td><span class="k1">class</span> MissleDefend <span class="k2">:</span> <span class="k1">public</span> IGame</td></tr><tr><td class="number">3</td><td><span class="k2">{</span></td></tr><tr><td class="number">4</td><td>  public:</td></tr><tr><td class="number">5</td><td>&#160;</td></tr><tr><td class="number">6</td><td>  Manager <span class="k3">*</span>gameManager<span class="k2">;</span></td></tr><tr><td class="number">7</td><td>&#160;</td></tr><tr><td class="number">8</td><td>  MissleDefend<span class="k2">(</span><span class="k2">)</span> <span class="k2">:</span> IGame<span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">9</td><td>  <span class="k2">{</span></td></tr><tr><td class="number">10</td><td>    <span class="c">//Nothing</span></td></tr><tr><td class="number">11</td><td>  <span class="k2">}</span></td></tr><tr><td class="number">12</td><td>&#160;</td></tr><tr><td class="number">13</td><td>  ~MissleDefend<span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">14</td><td>  <span class="k2">{</span></td></tr><tr><td class="number">15</td><td>    <span class="k1">delete</span> gameManager<span class="k2">;</span></td></tr><tr><td class="number">16</td><td>  <span class="k2">}</span></td></tr><tr><td class="number">17</td><td><span class="c">//...snip...</span></td></tr></tbody></table></div></div><p>
<img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Here&#39;s another hint for you:
</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="c">// this is how it should look like:</span></td></tr><tr><td class="number">2</td><td><span class="k1">class</span> MissleDefend <span class="k2">:</span> <span class="k1">public</span> IGame</td></tr><tr><td class="number">3</td><td><span class="k2">{</span></td></tr><tr><td class="number">4</td><td>  public:</td></tr><tr><td class="number">5</td><td>&#160;</td></tr><tr><td class="number">6</td><td>  Manager <span class="k3">*</span>gameManager<span class="k2">;</span></td></tr><tr><td class="number">7</td><td>&#160;</td></tr><tr><td class="number">8</td><td>  MissleDefend<span class="k2">(</span><span class="k2">)</span> <span class="k2">:</span> IGame<span class="k2">(</span><span class="k2">)</span>, gameManager<span class="k2">(</span><span class="n">0</span><span class="k2">)</span></td></tr><tr><td class="number">9</td><td>  <span class="k2">{</span></td></tr><tr><td class="number">10</td><td>    <span class="c">//Nothing</span></td></tr><tr><td class="number">11</td><td>  <span class="k2">}</span></td></tr><tr><td class="number">12</td><td>&#160;</td></tr><tr><td class="number">13</td><td>  ~MissleDefend<span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">14</td><td>  <span class="k2">{</span></td></tr><tr><td class="number">15</td><td>    <span class="k1">if</span> <span class="k2">(</span>gameManager<span class="k2">)</span> <span class="k2">{</span></td></tr><tr><td class="number">16</td><td>      <span class="k1">delete</span> gameManager<span class="k2">;</span></td></tr><tr><td class="number">17</td><td>      gameManager <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span></td></tr><tr><td class="number">18</td><td>    <span class="k2">}</span></td></tr><tr><td class="number">19</td><td>  <span class="k2">}</span></td></tr></tbody></table></div></div><p>
Another minor suggestion: Rename the README file to readme.txt, startup my GUI host program and be amazed. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>And finally a request from the general public: Could anyone running Windows that also happens to have Allegro 4.2.0, AMGC2 and preferably the MinGW compiler please try to compile a Windows DLL of the game? Here are the instructions:</p><pre>
1. Unpack the game to amgc2/games.
2. Edit the makefile so that line 4 looks like this: SRCDIR=../..
3. Edit mdefend.cpp so that the code starting at line 2271 looks like the second snippet in this post.
4. Run &quot;make win&quot; and ignore all the warnings.
5. Run amgc2.exe to verify that mdefend.dll works.
6. Attach mdefend.dll here or send to my email (in amgc2&#39;s readme.txt).
7. Go play a couple of rounds of Missile Defend! It&#39;s good! :)
</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Mon, 05 Jun 2006 21:24:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Because your code crashes.
</p></div></div><p>
Heh, I&#39;m not suprised considering the amgc2loader isn&#39;t working for you. ;P <br />But yeah you are right I should be initializing it to 0 and having the check before deleting. I changed it to look like that and renamed readme.txt to comform to amgc2. <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" /></p><p>On a side note my loader seems to be a tad bit slower than yours, but not incredibly slower, I assume the timing is a bit off in my loader. I just ran it and it worked fine in amgc2 and in the loader.</p><p>Source attached. (deleted from previous post)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (juvinious)</author>
		<pubDate>Mon, 05 Jun 2006 21:48:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I was trying to compile it and put it here, but I got errors:</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td>C:\Download\amgc2\amgc2\src&gt;make</td></tr><tr><td class="number">2</td><td>g<span class="k3">+</span><span class="k3">+</span> <span class="k3">-</span>O2 <span class="k3">-</span>fomit-frame-pointer <span class="k3">-</span>ffast-math <span class="k3">-</span>funroll-loops <span class="k3">-</span>s <span class="k3">-</span>W <span class="k3">-</span>Wall <span class="k3">-</span>mwindows <span class="k3">-</span>D</td></tr><tr><td class="number">3</td><td>__GTHREAD_HIDE_WIN32API <span class="k3">-</span>o obj<span class="k3">/</span>mingw<span class="k3">/</span>MainMenu.o <span class="k3">-</span>c MainMenu.cpp</td></tr><tr><td class="number">4</td><td>MainMenu.cpp: In member function `<span class="k1">virtual</span> <span class="k1">void</span> IconItem::DrawItem<span class="k2">(</span>MAS::Bitmap<span class="k3">&amp;</span>,</td></tr><tr><td class="number">5</td><td><span class="k1">int</span>, <span class="k1">int</span>, <span class="k1">const</span> MAS::Rect<span class="k3">&amp;</span><span class="k2">)</span><span class="s">':</span></td></tr><tr><td class="number">6</td><td><span class="s">MainMenu.cpp:14: error: '</span><span class="k1">class</span> MAS::ListBoxEx<span class="s">' has no member named '</span>AreGridLines</td></tr><tr><td class="number">7</td><td>Enabled<span class="s">'</span></td></tr><tr><td class="number">8</td><td><span class="s">MainMenu.cpp:15: error: `DrawGrid'</span> undeclared <span class="k2">(</span>first use <span class="k1">this</span> function<span class="k2">)</span></td></tr><tr><td class="number">9</td><td>MainMenu.cpp:15: error: <span class="k2">(</span>Each undeclared identifier is reported only once <span class="k1">for</span> ea</td></tr><tr><td class="number">10</td><td>ch function it appears in.<span class="k2">)</span></td></tr><tr><td class="number">11</td><td>c:<span class="k3">/</span>Codeblocks<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">3</span>.<span class="n">4</span>.<span class="n">4</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>include<span class="k3">/</span>MASkinG<span class="k3">/</span>compound.</td></tr><tr><td class="number">12</td><td>h: At global scope:</td></tr><tr><td class="number">13</td><td>c:<span class="k3">/</span>Codeblocks<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">3</span>.<span class="n">4</span>.<span class="n">4</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>include<span class="k3">/</span>MASkinG<span class="k3">/</span>compound.</td></tr><tr><td class="number">14</td><td>h:37: warning: unused parameter <span class="s">'objList'</span></td></tr><tr><td class="number">15</td><td>c:<span class="k3">/</span>Codeblocks<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">3</span>.<span class="n">4</span>.<span class="n">4</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>include<span class="k3">/</span>MASkinG<span class="k3">/</span>compound.</td></tr><tr><td class="number">16</td><td>h:37: warning: unused parameter <span class="s">'cmp'</span></td></tr><tr><td class="number">17</td><td>c:<span class="k3">/</span>Codeblocks<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">3</span>.<span class="n">4</span>.<span class="n">4</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>include<span class="k3">/</span>MASkinG<span class="k3">/</span>compound.</td></tr><tr><td class="number">18</td><td>h:37: warning: unused parameter <span class="s">'focusObject'</span></td></tr><tr><td class="number">19</td><td>c:<span class="k3">/</span>Codeblocks<span class="k3">/</span>bin<span class="k3">/</span>..<span class="k3">/</span>lib<span class="k3">/</span>gcc<span class="k3">/</span>mingw32<span class="k3">/</span><span class="n">3</span>.<span class="n">4</span>.<span class="n">4</span><span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>..<span class="k3">/</span>include<span class="k3">/</span>MASkinG<span class="k3">/</span>compound.</td></tr><tr><td class="number">20</td><td>h:37: warning: unused parameter <span class="s">'c'</span></td></tr><tr><td class="number">21</td><td>make: <span class="k2">[</span>obj<span class="k3">/</span>mingw<span class="k3">/</span>MainMenu.o<span class="k2">]</span> Error <span class="n">1</span> <span class="k2">(</span>ignored<span class="k2">)</span></td></tr><tr><td class="number">22</td><td>g<span class="k3">+</span><span class="k3">+</span> <span class="k3">-</span>o ..<span class="k3">/</span>amgc2.exe <span class="k3">-</span>O2 <span class="k3">-</span>fomit-frame-pointer <span class="k3">-</span>ffast-math <span class="k3">-</span>funroll-loops <span class="k3">-</span>s <span class="k3">-</span>W <span class="k3">-</span>W</td></tr><tr><td class="number">23</td><td>all <span class="k3">-</span>mwindows <span class="k3">-</span>D__GTHREAD_HIDE_WIN32API obj<span class="k3">/</span>mingw<span class="k3">/</span>main.o obj<span class="k3">/</span>mingw<span class="k3">/</span>MainMenu.o ob</td></tr><tr><td class="number">24</td><td>j<span class="k3">/</span>mingw<span class="k3">/</span>GameDriver.o obj<span class="k3">/</span>mingw<span class="k3">/</span>PluginManager.o obj<span class="k3">/</span>mingw<span class="k3">/</span>hsc.o obj<span class="k3">/</span>mingw<span class="k3">/</span>HscDial</td></tr><tr><td class="number">25</td><td>og.o obj<span class="k3">/</span>mingw<span class="k3">/</span>fps.o obj<span class="k3">/</span>mingw<span class="k3">/</span>screenshot.o obj<span class="k3">/</span>mingw<span class="k3">/</span>OptionsDlg.o obj<span class="k3">/</span>mingw<span class="k3">/</span>Key</td></tr><tr><td class="number">26</td><td>Settings.o obj<span class="k3">/</span>mingw<span class="k3">/</span>KeyDialog.o obj<span class="k3">/</span>mingw<span class="k3">/</span>SettingsDialog.o obj<span class="k3">/</span>mingw<span class="k3">/</span>global.o o</td></tr><tr><td class="number">27</td><td>bj<span class="k3">/</span>mingw<span class="k3">/</span>OnlineDlg.o <span class="k3">-</span>lmasking <span class="k3">-</span>lalfont <span class="k3">-</span>lalleg obj<span class="k3">/</span>mingw<span class="k3">/</span>icon.res</td></tr><tr><td class="number">28</td><td>g<span class="k3">+</span><span class="k3">+</span><span class="k2">:</span> obj<span class="k3">/</span>mingw<span class="k3">/</span>MainMenu.o: No such file <span class="k1">or</span> directory</td></tr><tr><td class="number">29</td><td>make: <span class="k3">*</span><span class="k3">*</span><span class="k3">*</span> <span class="k2">[</span>main<span class="k2">]</span> Error <span class="n">1</span></td></tr></tbody></table></div></div><p>

Lots of warnings before, and I was forced to change OBJDIR to obj/mingw32 instead of obj\mingw32</p><p>We will see later ;-)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Tue, 06 Jun 2006 14:18:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You need MASkinG from CVS. But why do you want to compile AMGC2.exe? Does the precompiled version not work for you? If you just want to compile the game dll, you don&#39;t need to compile amgc2 itself, you just need to have its source code.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Tue, 06 Jun 2006 15:06:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t have CVS allowed trough our <span class="cuss"><span>fuck</span></span>ing proxy.</p><p>I got some work to finish, and I will try to give you this dll after.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 07 Jun 2006 12:56:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I don&#39;t have CVS allowed trough our <span class="cuss"><span>fuck</span></span>ing proxy.
</p></div></div><p>
As I said, you do NOT need MASkinG at all! To compile game dlls you just need a couple of files from the AMGC2 code and plain Allegro.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Wed, 07 Jun 2006 13:19:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Attached is the dll.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 07 Jun 2006 13:31:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Hehe, I was able to compile it myself actually as I&#39;m at work right now where I use a Windows machine and had 15 minutes of time <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Juvinious: AMGC2 page has been updated and now lists Missile Defend v1.9 <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Wed, 07 Jun 2006 13:33:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello,<br />I have nothing to add to this thread, other than to say I think your newly designed website is most excellent and a great design. Well done that man.</p><p>(the only thing that would be nice would be an inclusion of online manual for your libraries, e.g. masking)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Wed, 07 Jun 2006 19:18:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Hello,<br />I have nothing to add to this thread, other than to say I think your newly designed website is most excellent and a great design. Well done that man.</p><p>(the only thing that would be nice would be an inclusion of online manual for your libraries, e.g. masking)
</p></div></div><p>
Thanks, that&#39;s a good idea. I might even write some tutorials some time... <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Wed, 07 Jun 2006 19:42:10 +0000</pubDate>
	</item>
</rss>
