Re: Problem by using newer gtkmm-versions than 2.16



Hi Dimitri,

Since some version pangomm has been separated from the gtkmm tarball, so
you might need additional include paths now. Note that if you simply use
pkg-config to obtain the compiler flags things should just work.

Cheers,
Armin

On Tue, 2011-02-22 at 18:00 +0100, Dimitri Holz wrote:
> Hello everybody,
> 
> I have following problems by using newer gtkmm-versions than 2.16 on
> windows xp:
> 
> In file included
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/types.h:30,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/region.h:66,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/screen.h:32,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm.h:27,
> 
> from /cygdrive/c/Programme/gtkmm/include/gtkmm-2.4/gtkmm.h:89,
>                  from main.cpp:5:
> /cygdrive/c/Programme/gtkmm/lib/gdkmm-2.4/include/gdkmmconfig.h:5:27:
> warning: pangommconfig.h: No such file or directory
> In file included
> from /cygdrive/c/Programme/gtkmm/include/cairo/cairo-ft.h:46,
> 
> from /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/fontoptions.h:26,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/screen.h:35,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm.h:27,
> 
> from /cygdrive/c/Programme/gtkmm/include/gtkmm-2.4/gtkmm.h:89,
>                  from main.cpp:5:
> /cygdrive/c/Programme/gtkmm/include/ft2build.h:56:38: warning:
> freetype/config/ftheader.h: No such file or directory
> In file included
> from /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/fontoptions.h:26,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/screen.h:35,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm.h:27,
> 
> from /cygdrive/c/Programme/gtkmm/include/gtkmm-2.4/gtkmm.h:89,
>                  from main.cpp:5:
> /cygdrive/c/Programme/gtkmm/include/cairo/cairo-ft.h:47:10: error:
> #include expects "FILENAME" or <FILENAME>
> In file included
> from /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/fontoptions.h:26,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/screen.h:35,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm.h:27,
> 
> from /cygdrive/c/Programme/gtkmm/include/gtkmm-2.4/gtkmm.h:89,
>                  from main.cpp:5:
> /cygdrive/c/Programme/gtkmm/include/cairo/cairo-ft.h:56: error: â
> €˜FT_Face’ was not declared in this scope
> /cygdrive/c/Programme/gtkmm/include/cairo/cairo-ft.h:57: error:
> expected primary-expression before ‘int’
> /cygdrive/c/Programme/gtkmm/include/cairo/cairo-ft.h:57: error:
> initializer expression list treated as compound expression
> /cygdrive/c/Programme/gtkmm/include/cairo/cairo-ft.h:59: error: â
> €˜FT_Face’ does not name a type
> In file included
> from /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/context.h:25,
> 
> from /cygdrive/c/Programme/gtkmm/include/pangomm-1.4/pangomm/context.h:42,
> 
> from /cygdrive/c/Programme/gtkmm/include/pangomm-1.4/pangomm/layout.h:35,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/drawable.h:29,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/gc.h:32,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm.h:30,
> 
> from /cygdrive/c/Programme/gtkmm/include/gtkmm-2.4/gtkmm.h:89,
>                  from main.cpp:5:
> /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/fontface.h:439: error: ‘FT_Face’ has not been declared
> /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/fontface.h:473: error: expected `)' before ‘face’
> In file included
> from /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/context.h:29,
> 
> from /cygdrive/c/Programme/gtkmm/include/pangomm-1.4/pangomm/context.h:42,
> 
> from /cygdrive/c/Programme/gtkmm/include/pangomm-1.4/pangomm/layout.h:35,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/drawable.h:29,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm/gc.h:32,
> 
> from /cygdrive/c/Programme/gtkmm/include/gdkmm-2.4/gdkmm.h:30,
> 
> from /cygdrive/c/Programme/gtkmm/include/gtkmm-2.4/gtkmm.h:89,
>                  from main.cpp:5:
> /cygdrive/c/Programme/gtkmm/include/cairomm-1.0/cairomm/scaledfont.h:270: error: ‘FT_Face’ does not name a type
> make: *** [obj/main.o] Error 1
> 
> Does anybody know what is the problem?
> Thanks in advance!
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]