Re: Gtkmm 2.18.2-1 windows package problem



On Sun, 2009-11-01 at 11:42 +0530, sankar bose wrote:
> Hi
> i am having problem with the gtkmm 2.18.2-1 windows package.please help me.
> i have installed the package in c:\gtkmm at first i get this message
> 
> C:\Documents and Settings\Sankar>pkg-config --cflags gtk+-2.0
> Package fontconfig was not found in the pkg-config search path.
> Perhaps you should add the directory containing `fontconfig.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'fontconfig', required by 'cairo', not found
> 
>              Then i installed the fontconfig package and the problem
> was fixed .
> i got this..
> 
> 
> C:\Documents and Settings\Sankar>pkg-config --cflags gtk+-2.0
> -mms-bitfields -IC:/gtkmm/include/gtk-2.0 -IC:/gtkmm/lib/gtk-2.0/include -IC:/gt
> kmm/include/atk-1.0 -IC:/gtkmm/include/cairo -IC:/gtkmm/include/pango-1.0 -IC:/g
> tkmm/include/glib-2.0 -IC:/gtkmm/lib/glib-2.0/include -IC:/gtkmm/include/freetyp
> e2 -IC:/gtkmm/include -IC:/gtkmm/include/libpng12
> 
> and for the gtkmm i got
> 
> 
> C:\Documents and Settings\Sankar>pkg-config --cflags gtkmm-2.4
> -mms-bitfields -IC:/gtkmm/include/gtkmm-2.4 -IC:/gtkmm/lib/gtkmm-2.4/include -IC
> :/gtkmm/include/giomm-2.4 -IC:/gtkmm/lib/giomm-2.4/include -IC:/gtkmm/include/pa
> ngomm-1.4 -IC:/gtkmm/lib/pangomm-1.4/include -IC:/gtkmm/include/gtk-2.0 -IC:/gtk
> mm/include/atkmm-1.6 -IC:/gtkmm/include/gdkmm-2.4 -IC:/gtkmm/lib/gdkmm-2.4/inclu
> de -IC:/gtkmm/include/glibmm-2.4 -IC:/gtkmm/lib/glibmm-2.4/include -IC:/gtkmm/in
> clude/glib-2.0 -IC:/gtkmm/lib/glib-2.0/include -IC:/gtkmm/include/sigc++-2.0 -IC
> :/gtkmm/lib/sigc++-2.0/include -IC:/gtkmm/include/cairomm-1.0 -IC:/gtkmm/lib/cai
> romm-1.0/include -IC:/gtkmm/include/pango-1.0 -IC:/gtkmm/include/cairo -IC:/gtkm
> m/include/freetype2 -IC:/gtkmm/include -IC:/gtkmm/include/libpng12 -IC:/gtkmm/li
> b/gtk-2.0/include -IC:/gtkmm/include/atk-1.0
> 
>  But when i tried  to compile a simple file (below) in Msys i receive
> the following errors.
> 
> #include <gtkmm.h>
> int main(int argc, char *argv[])
> {
> Gtk::Main kit(argc, argv);
> Gtk::Window window;
> Gtk::Main::run(window);
> return 0;
> }
> 
> $ g++ hellogtkmm.cpp `pkg-config --cflags --libs gtkmm-2.4`
> In file included from c:/gtkmm/include/gdkmm-2.4/gdkmm/types.h:30,
>                 from c:/gtkmm/include/gdkmm-2.4/gdkmm.h:27,
>                 from c:/gtkmm/include/gtkmm-2.4/gtkmm.h:31,
>                 from hellogtkmm.cpp:1:
> c:/gtkmm/lib/gdkmm-2.4/include/gdkmmconfig.h:5:27: pangommconfig.h: No such file
>  or directory
> hellogtkmm.cpp:8:2: warning: no newline at end of file
> 
>                                  I am completely new to c++ and gtkmm
> so please anybody help me to fix the problem.
> 
>                                             with regards......................

Please use gtkmm 2.16 on Windows for now. gtkmm 2.18 is actually a kind
of preview (I should probably have said so in the filename) which did
not yet have much testing. Also, GTK+ 2.18 on Windows has some
regressions compared to 2.16, mainly because of the new
client-side-windows code.

Thanks for testing though - both of these seem to be problems with the
installer. I will investigate.

Armin



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