Am 05.06.2009 15:42 Uhr schrieb "Michael Schmid" unter <[email protected]>:
> I'm using FLTK 1.1.9, ELDK (http://www.denx.de/wiki/DULG/ELDK) and a
> Freescale MPC5200.
>
> Now, I wrote my first test application. In buttons, etc. colors are OK.
> But if I use, for example, FL_BMP_Image or FL_Pixmap then the colors are
> "switched" (green is red and red is green or so...).
>
> It looks a bit like a little/big-endian problem. Is this known Problem?
> And are there some special libraries I can use for PowerPC (I guess the
> problem is in library fltk_images...?)
Please do not post to FLTK bugs. It is only used b the automated bug
tracking system. Instead post in FLTK General.
FLTK works on both big and little endian machines correctly (tested on OSX
for PPC and Intel). Your version of FLTK seems to be a special
(Corss-)Compiler setup. Maybe the correct endian flag is not set at compile
time?
Matthias
--
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk