<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 4.4 build for Android failing</title>
		<link>http://www.allegro.cc/forums/view/617273</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 13 Feb 2018 00:47:31 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey,</p><p>Can someone shine a light on the errors I am having here:</p><p><a href="http://www.adventuregamestudio.co.uk/forums/index.php?topic=44768.msg636580835#new">http://www.adventuregamestudio.co.uk/forums/index.php?topic=44768.msg636580835#new</a></p><p>Basically, build is failing (using ndk and latest cmake) as described bellow:</p><p>-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) <br />CMake Error at CMakeLists.txt:962 (get_target_property):<br />  get_target_property() called with non-existent target &quot;allegrogl&quot;.<br /> <br /> <br />CMake Error at CMakeLists.txt:962 (get_target_property):<br />  get_target_property() called with non-existent target &quot;loadpng&quot;.<br /> <br /> <br />CMake Error at CMakeLists.txt:962 (get_target_property):<br />  get_target_property() called with non-existent target &quot;logg&quot;.<br /> <br /> <br />CMake Error: The following variables are used in this project, but they are set to NOTFOUND.<br />Please set them or make sure they are set and tested correctly in the CMake files:<br />RT_LIBRARY<br />    linked by target &quot;allegro&quot; in directory /home/erico/git/ags/Android/buildlibs/armeabi-v7a/allegro-4.4.2<br /> <br />-- Configuring incomplete, errors occurred!<br />See also &quot;/home/erico/git/ags/Android/buildlibs/armeabi-v7a/allegro-4.4.2/CMakeFiles/CMakeOutput.log&quot;.<br />See also &quot;/home/erico/git/ags/Android/buildlibs/armeabi-v7a/allegro-4.4.2/CMakeFiles/CMakeError.log&quot;.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (eri0o_)</author>
		<pubDate>Sat, 10 Feb 2018 19:09:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello eri0o_,</p><p>I&#39;ve never tried to build Android libraries for A4.4 before, so I don&#39;t know how much help I&#39;ll be, but I&#39;ll try.</p><p>You can safely ignore the PNG not found, if you don&#39;t need it, otherwise you&#39;ll have to set the two variables (PNG_LIBRARY and PNG_INCLUDE_DIR) yourself, according to where they are located.</p><p>The next 3 errors all come from the addons. I&#39;m not sure why they are there.</p><p>The last error has to do with not being able to find the RT_LIBRARY variable value. I&#39;m not sure why that&#39;s there either. If you know what it is supposed to be, you can set that variable manually on your command line.</p><p>Elias is our resident expert on Android. Hopefully he knows what is going on.</p><p>Just a warning though, Allegro 4 is deprecated in favor of Allegro 5. So you might not get much help. If you can find out what&#39;s wrong and how to fix it, please submit a patch to the Allegro Development mailing list, or fork Allegro and fix it and make a pull request.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Mon, 12 Feb 2018 14:08:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The main problem I expect on Android is that Allegro 4 has no &quot;driver&quot; for Android. So you will have to implement things like displaying the screen and collecting touch input.</p><p>If that&#39;s things you don&#39;t need it (but I can&#39;t imagine many use cases where you would not) then you will probably be able to compile with some minor fixes to the code and/or build system.</p><p>If you have an existing Allegro 4 game and want it to work on Android the easiest route might be changing it to use Allegro 5 (which has builtin support for an Android display and Android touch input).</p><p>Or do some hybrid where you keep using A4 and add some code to copy over the Allegro 4 screen into an Android view and pass touch events to the Allegro 4 mouse functions - the best way really depends on the game, and whether you plan to do a one-time porting or keep developing it...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 13 Feb 2018 00:47:31 +0000</pubDate>
	</item>
</rss>
