Re: libintl.h not found



Sorry, you need "gettext" package for MinGW.

2009/9/16 Fabrício Godoy <skarllot gmail com>
You need set -lintl flag to linker.

2009/9/16 Галымжан Кожаев <kozhayev gmail com>

When building under Windows XP, why doesn't pkg-config point to
include directory, containing libintl.h? when i try to compile using
'#include <glibmm/i18n.h>', compiler says: "In file included from
C:/GTK/gtkmm/include/glibmm-2.4/glibmm/i18n.h:27, from gtk.cpp:7:
C:/GTK/gtkmm/include/glib-2.0/glib/gi18n.h:25:21: libintl.h: No such
file or directory".
I realized that `pkg-config --libs --cflags gtkmm-2.4` doesn't point
to 'C:/GTK/gtkmm/include' directory which contains linintl.h. I
successfully compiled my program by passing '-IC:/GTK/gtkmm/include'
flag to compiler manually. There isn't such problem under Linux and
compilation is done by typing g++ gtk.cpp -o gtk `pkg-config gtkmm-2.4
--cflags --libs`.
I'm using MinGW g++ compiler, gtkmm-2.4 version 2.16.0, gtkmm install
path is 'C:\gtk\gtkmm'.
_______________________________________________
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]