On 8 Jul 2009, at 16:33, Alan Carvalho de Assis wrote:

> Hi All,
>
> I am trying to port Dillo to i.MX27 (ARM9) processor.
> Using LTIB build system (www.ltib.org) to cross-compile FLTK.
>
> I cross-compiled FLTK2, but it is crashing, I can't run any demo  
> example.
>
> To FLTK1.3 everything works fine, I ran all examples successfully.

fltk-2 is not my strong suit, so what follows is just guesswork  
really. However, here are some questions that might be relevant:

What fonts does your target system actually have installed? Which  
names, what types, etc.?

Now, the reason I ask is that I see from the gdb trace that your  
program crashed in Font_xlfd.cxx, so presumably it was attempting to  
load an "old style" XLFD font.

You say your test build works with fltk-1.3, and it defaults to using  
"new-style" XFT fonts, rather than using XLFD fonts (although it can  
also use XLFD fonts, *or* can be built to only use XLFD fonts by  
passing --disable-xft to configure at build time.)

So... I'm guessing that the fltk-1.3 build works for some reason  
because it is using XFT and the fltk-2 build fails because it  
attempts to use XLFD. Does that seem feasible?

If so, it might be worth trying to make sure the fltk-2 build loads  
an XFT rather than XLFD font, see how that goes.

All that said, however, a default flrk-2 build *ought* to default to  
XFT enabled anyway - unless someone has changed that?

Did you later that setting during config by any chance? Maybe that is  
somewhere to start looking, if nothing else...

-- 
Ian



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to