libpangocairo-1.0.so 에러가 납니다. ㅠㅠ
GTK+를 설치하고, 한번 TUTORIAL 의 맨 앞장의 예제를 실행시켜 보았는데.
=====================================================
#include
int main(int argc, char* argv[])
{
GtkWidget* window;
gtk_init(&argc, &argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
gtk_main();
return 0;
}
=====================================================
아래와 같은 오류가 납니다. 어떻게 해야할까요???
bigbaby@bigbaby-desktop:~$ gcc gtk_first.c -o gtk_first `pkg-config --cflags --libs gtk+-2.0`
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libpangocairo-1.0.so: undefined reference to `pango_font_get_font_map'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libpangocairo-1.0.so: undefined reference to `pango_fc_font_create_metrics_for_context'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libpangocairo-1.0.so: undefined reference to `pango_matrix_get_font_scale_factor'
collect2: ld returned 1 exit status
댓글 달기