G'day,

As mentioned before, the initial steps of the CD build fails:

        Tecmake: Building Dependencies ... [ cd.dep ] (can be slow)
        In file included from ./drv/cdirgb.c:16:0:
        sim/cd_truetype.h:14:22: fatal error: ft2build.h: No such file or 
directory
         #include "ft2build.h"
                              ^
        compilation terminated.
        In file included from ./sim/sim.c:14:0:
        ./sim/cd_truetype.h:14:22: fatal error: ft2build.h: No such file or 
directory
         #include "ft2build.h"
                              ^
        compilation terminated.
        In file included from ./sim/cd_truetype.c:14:0:
        ./sim/cd_truetype.h:14:22: fatal error: ft2build.h: No such file or 
directory
         #include "ft2build.h"
                              ^
        compilation terminated.
        In file included from ./sim/sim_text.c:15:0:
        ./sim/cd_truetype.h:14:22: fatal error: ft2build.h: No such file or 
directory
         #include "ft2build.h"
                              ^

(There's other error output, but that may be a by-product of the
above errors.)

I've added two @echo statements at the top of the dependency-creation
recipe in cd/tecmake.mak:

        #---------------------------------#
        # Dependencies

        #   Build dependencies
        .PHONY: depend

        depend: $(DEPEND)

        $(DEPEND): $(MAKENAME)
                @echo "FREETYPE_INC is: $(FREETYPE_INC)"
                @echo "DEPINCS      is: $(DEPINCS)"
          ifdef SRC
                  @echo "" > $(DEPEND)

          [...]

The output of these commands is:

        FREETYPE_INC is: /usr/include/freetype2
        DEPINCS      is: -I. -Idrv -Ix11 -Iwin32 -Iintcgm -Isim -Icairo -Isvg 
-I../include

As noted previously, file "ft2build.h" is in /usr/include/freetype2,
both on a Ubuntu-based system, and on my Gentoo system.

My best guess is that cd's tecmake is suffering from a mild case of
schizophrenia:  There's conflicting potential source locations for the
header files (and, equivalently, the link library files), and
tecmake is finding the installation on my system, but is not setting
everything up correctly in response.  Gentoo's "eix" report for the
freetype package is (output truncated for brevity; it's possible that
one or more Gentoo Portage USE flags might currently be off, but needs
to be be switched on in order to provide some facility that
cd/tecmake.mak requires):

        $ eix freetype
        [I] media-libs/freetype
             Available versions:  (2) 2.8^d ~2.8.1^d **9999^d
             Installed versions:  2.8(2)
        [... Installation details, including USE flags, elided ...]
        Homepage:            http://www.freetype.org/
        Description:         A high-quality and portable font engine

Hope that this information is of some help.  I am nervous about
playing with tecmake.mak; I'm much more comfortable with C, and will
(kicking and screaming) look at c++ code.  However, my brain cells are
firing less often than they used to, so feel very free to treat my
contributions with some caution.

cheers,

s-b etc.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to