On 02/19/13 02:39, MacArthur, Ian (Selex ES, UK) wrote:
>> When we run the test/fonts.cxx we are not able to choose between the
>> fonts and the font size on the X window.It shows the default.
>
> Which is why I have to assume that something is awry in the
> configuration of the build, since the code itself seems
> to be OK...
Right; I can confirm on centos 5 the OP's code works fine.
If I change the 20 -> 40 and rebuild, the font size gets bigger.
Sounds like it might be platform dependent (arm target), or perhaps
an FLTK headers conflict with a previously installed version of FLTK.
OP, see if there is a "/usr/include/FL" and/or "/usr/lib*/libfltk*"
on your system that might be conflicting with the one you have in your
/home/sachin/FLTK1.3.2_test directory.
If so, either rename them away, and rebuild both the FLTK library and
your app.
If that's not it, do you get the same behavior if you run ./configure
without any special flags, and just run 'make' to build the library
in your /home/sachin/FLTK1.3.2_test/ dir, and the to build your test
app, run:
/home/sachin/FLTK1.3.2_test/fltk-config --compile foo.app
..and see if that works locally on your system?
If it does, then modify the build commands printed by the above command
to build against your arm target instead, and repeat the test to see if
the problem is arm specific.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk