Re: [AD] Allegro 4.4.1.1 fails to fully build

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Trent Gamblin said
"It seems my distro (Ubuntu) only ships the 1.2.x series of libpng still. Could you make a patch for this?"

That one is easy enough. Attached.

Trent Gamblin said
"Will accept patches for this as well."

I'd love to, but I'm really new at cmake, and I'm having a hard time figuring out what to do to fix this. ex12bit itself doesn't use anything from ltdl, so maybe allegro needs to be linked to ltdl? I never needed to link to ltdl before (on Windows) even when linking Allegro statically, so I'm not sure about this one. I'm also not sure what cmake symbol I should use for linking with Allegro.

Does anyone here know who wrote the cmake build system for Allegro 4.4.1.1? Maybe they would have an easier time knowing what to do.


Index: addons/loadpng/loadpng.c
===================================================================
--- addons/loadpng/loadpng.c	(revision 14595)
+++ addons/loadpng/loadpng.c	(working copy)
@@ -6,6 +6,7 @@
 
 
 #include <png.h>
+#include <zlib.h>
 #include <allegro.h>
 #include <allegro/internal/aintern.h>
 #include "loadpng.h"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/