On 21 Feb 2013, at 02:35, edgar wrote:

> I copied hello.cxx from the docs and compiled but the font comes up tiny-
> definitely not 36 - and does not change when other values are given as 
> arguments. Nor do the fonts change.  If you send me an email address I will 
> send a screenshot with code and the FLTK window.
> 
> One note is that the compiler g++ could not locate the Xext library so I 
> removed it from the compile statement. Is the label font size and type
> dependent on the Xext lib?


No lib Xext? I'm surprised fltk works at all...!

I'm guessing you don't have the dev packages installed then. If you don't have 
Xext dev packages, then you are probably missing a load of other good stuff 
too, so that probably does explain the behaviour you are seeing...


> I can rebuild fltk but it was challenging to get the X11 libraries to link up 
> so I would rather find Xext and get it in the right path if that is the 
> problem.

Yes, sounds like you need to install the dev packages.


What system did you say you were on? Is it ubuntu? They seem to have taken the 
whole user focus thing a bit too far in their desktop systems, and they leave 
out a whole pile of dev stuff that you likely need!

>From memory... try...

                apt-get install libx11-dev
                apt-get install libxt-dev
                apt-get install libxft-dev
                apt-get install libglut3-dev  

Though that list is probably wrong!


Then re-run the fltk configure script from scratch and then rebuild fltk - 
after that, I'd hope things would be better!


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

Reply via email to