Martin,
I tried this and I am sure we are close to the solution. The problem is
(I guess) that the subdirectory fontconfig is not mentioned as an
include directory. What does your compilation look like? Mine looks
like this:
g++-3.3 -I.. -Os -Wall -Wunused -Wno-format-y2k -fPIC
-fno-exceptions -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -U__APPLE__
-I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -U__APPLE__ -I/usr/X11R6/include
-I/sw/include -I/usr/X11R6/include -c fl_set_fonts.cxx
In file included from fl_set_fonts.cxx:39:
fl_set_fonts_xft.cxx: In static member function `static Fl_Font
Fl::set_fonts(const char*)':
fl_set_fonts_xft.cxx:193: error: `FcFontSet' undeclared (first use this
function)
fl_set_fonts_xft.cxx:193: error: (Each undeclared identifier is
reported only
once for each function it appears in.)
fl_set_fonts_xft.cxx:193: error: `fnt_set' undeclared (first use this
function)
Thanks,
Carl
Op 8-mrt-08 om 19:43 heeft Martin Costabel het volgende geschreven:
> Carl van Denzen wrote:
>> Hello Martin,
>> my X11 version ("about"): X11 1.0 - XFree86 4.3.0
>> The fontconfig.h file does not exist on my computer. I searched with
>> locate (which I update every day). Even the directory fontconfig does
>> not exist.
>> I include the locate fontconfig in this mail.
>> Carl.
>> [ibook1-thuis-vandenzen-nl:~] root# ls -l /usr/X11R6/include/
>> total 0
>> drwxr-xr-x 28 root wheel 952 6 Sep 2003 DPS
>> drwxr-xr-x 15 root wheel 510 6 Sep 2003 GL
>> drwxr-xr-x 63 root wheel 2142 11 Nov 2004 X11
>> drwxr-xr-x 4 root wheel 136 6 Sep 2003 freetype2
>
> Here is how this looks on a 10.3 partition I have here:
>
> drwxr-xr-x@ 28 root wheel 952 Jun 26 2003 DPS
> drwxr-xr-x@ 16 root wheel 544 Jun 26 2003 GL
> drwxr-xr-x@ 64 root wheel 2176 Jun 26 2003 X11
> -r--r--r-- 1 root wheel 28461 Jun 26 2003 expat.h
> drwxr-xr-x@ 5 root wheel 170 Jun 26 2003 fontconfig
> drwxr-xr-x@ 4 root wheel 136 Jun 26 2003 freetype2
>
> Maybe the fontconfig directory was introduced by some xcode update of
> X11SDK (was that already called xcode at the time? My memory of those
> early stone age days starts getting foggy).
>
> Anyway, Carl, I'll send you the fontconfig directory and the expat.h
> file (you never know...) as a tgz file directly. Please let us know if
> that helped for building fltk-x11.
>
> --
> Martin
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners