[gtkmm] example program compilation fails on windows



Hello!

I'm still trying to compile my project GSpeakers (http://gspeakers.sf.net) on windows. I've installed the gtkmm binaries I've been pointed towards in previous posts. However, i ran into new problems when I tried to compile a gtkmm example program:

Administrator E ~/gtkmm-1.3.23/examples/paned
$ g++ -mms-bitfields -o paned paned.cc `pkg-config.exe gtkmm-2.0 --cflags --lib
s`
In file included from D:/msys-1/home/gnome/include/gtkmm-2.0/glibmm.h:58,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/scrolledwindow.h:6,
                 from paned.cc:1:
D:/msys-1/home/gnome/include/gtkmm-2.0/glibmm/thread.h:76: parse error before 
   numeric constant
In file included from D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/gc.h:31,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/drawable.h:33,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/pixmap.h:27,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/bitmap.h:27,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/window.h:28,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/event.h:30,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/widget.h:30,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/container.h:28,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/bin.h:29,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/scrolledwindow.h:29,
                 from paned.cc:1:
D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/types.h:161: parse error before 
   numeric constant
In file included from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/widget.h:30,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/container.h:28,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/bin.h:29,
                 from D:/msys-1/home/gnome/include/gtkmm-2.0/gtkmm/scrolledwindow.h:29,
                 from paned.cc:1:
D:/msys-1/home/gnome/include/gtkmm-2.0/gdkmm/event.h:49: parse error before 
   numeric constant


Administrator E ~/gtkmm-1.3.23/examples/paned
$ pkg-config.exe gtkmm-2.0 --cflags --libs 
-ID:/msys-1/home/gnome/include/gtkmm-2.0 -ID:/msys-1/home/gnome/lib/gtkmm-2.0/include -ID:/msys-1/home/gnome/include/gtk-2.0 -ID:/msys-1/home/gnome/lib/sigc++-1.2/include -ID:/msys-1/home/gnome/include/sigc++-1.2 -ID:/msys-1/home/gnome/include/glib-2.0 -ID:/msys-1/home/gnome/lib/glib-2.0/include -ID:/msys-1/home/gnome/lib/gtk-2.0/include -ID:/msys-1/home/gnome/include/pango-1.0 -ID:/msys-1/home/gnome/include/atk-1.0  -Wl,--export-dynamic -LD:/msys-1/home/gnome/lib -lgtkmm-1.3 -lgdkmm-1.3 -latkmm-0.0 -lgtk-win32-2.0 -lpangomm-0.0 -lglibmm-1.3 -lsigc-1.1 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv  

I'm using the mingw-2.0 distribution and the msys environment, gtk+ packages from the gtk+ win32 site and gtkmm packages from http://

Someone somewhere who can help me?

/Daniel



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