A few questions for graphics toolkit project
Pavel Pisa
ppisa4lists at pikron.com
Mon Aug 20 20:59:52 UTC 2012
Hello Alex,
On Monday 20 August 2012 21:01:16 you wrote:
> Hi,
>
> The problem in fltk was just solved in the last commit, you probably did
> not pull the repo :)
Ok, I have started testing much earlier.
As for freetype library, the hardcodding is not ideal
option. Left it that way for now. do_it builds all stuff,
but for some embedded system it would worth to have
MWin and FLTK without it.
FreeType could be detected by configure for FLTK, automatic adjustment
for MWin build is problematic. Unfortunately, it should be used
in FLTK only if it is configured in MWin, so there are problems.
Such dependencies are resolved by pkg-config for full featured
GNU packages. I.e. MWin libraries build should install
/usr/lib/pkgconfig/microwin.pc
But because it is cross, it should go to
/usr/i386-rtems4.11/lib/pkgconfig
or better
/opt/rtems4.11/i386-rtems4.11/pc686/lib/pkgconfig
By the way, freetype puts its config there.
You can check then
pkg-config --libs freetype2
and compare with
PKG_CONFIG_PATH=/opt/rtems4.11/i386-rtems4.11/pc686/lib/pkgconfig pkg-config --libs freetype2
So, in theory MWin or better NXlib/X11 should create *.pc files
which hold information gained from their configuration.
But to do that right could be quite some work and much of testing.
Best wishes,
Pavel
PS: CC to mailinglist to archive my thoughts
More information about the devel
mailing list