Re: Pango Integration?



Compile with

  gcc -Wall `pkg-config --cflags pangoft2` -o pango_get_width pango_get_width.c `pkg-config --libs pangoft2`

Noah

> Full Error Message:
> [zitan linuxdev zitan]$ gcc `pkg-config --cflags gtk+-2.0` pango_get_width.c
> `pkg-config --libs gtk+-2.0` -o pango_get_width
> /tmp/ccxkytsb.o(.text+0x7): In function `char_width_from_layout':
> : undefined reference to `pango_ft2_font_map_new'
> /tmp/ccxkytsb.o(.text+0x26): In function `char_width_from_layout':
> : undefined reference to `pango_ft2_font_map_get_type'
> /tmp/ccxkytsb.o(.text+0x3b): In function `char_width_from_layout':
> : undefined reference to `pango_ft2_font_map_set_resolution'
> /tmp/ccxkytsb.o(.text+0x4c): In function `char_width_from_layout':
> : undefined reference to `pango_ft2_font_map_get_type'
> /tmp/ccxkytsb.o(.text+0x61): In function `char_width_from_layout':
> : undefined reference to `pango_ft2_font_map_create_context'
> collect2: ld returned 1 exit status



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