bah.cairo and bah.freeimage bug?

BlitzMax Forums/Brucey's Modules/bah.cairo and bah.freeimage bug?

Rixarn(Posted 2011) [#1]
Ok, i'm using the latest bmx release (1.44b) in Windows.

Just a simple header for a program:


SuperStrict
Framework bah.freeimage
Import bah.cairo



And it crashes due to a linking problem:



Cairo and freeimage both share the same libraries?

Now, the funny thing here is that.. if I do the declaration like this:

SuperStrict
Framework bah.cairo
Import bah.freeimage


It wont crash! O.o ...

I can't use two Framework commands, so I have to pick one and assume that subsequent imports will only get what they have in themselves... or I'm getting something wrong here?

Thanks!

Last edited 2011


Brucey(Posted 2011) [#2]
I've changed Cairo so that it now doesn't depend on libpng. This also has the effect of removing direct PNG load/save operations from Cairo itself.
However, you can load PNGs via BlitzMax anyway, so this shouldn't be a huge issue.

Updated in SVN. I'll do a release at some point.


Rixarn(Posted 2011) [#3]
Hi Brucey,

Thanks for the update =)