Paladin of the Pegasos
Posts: 1289 from 2003/2/25
From: binaryriot
I'm not sure if depending on this private Ambient library is a good thing for various reasons:
- as its private we (as the Ambient developers) reserve us the right to change the API anytime (not very likely, but thats what private means).
- your class breaks with the upcoming release of MorphOS 2.0, because Ambient coming with MorphOS 2.0 does not have png.alib (or z.alib too) anymore.
I suggest you link libpng.a statically for now and as soon MorphOS 2.0 & SDK are released you simply recompile it with support for shared png.library (thats very easy and probably not even require change of source unless u really want to).
regards,
tokai