From: Mikhail R. <mr...@ra...> - 2004-12-02 01:23:01
|
Hello, I can't compile iaxcomm. (I have wxGTK 2.4.2, also tried wxGTK CVS from sometime in Novemvber; I also have gtk+ 1.2) Here's what I get: g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c -o main.o main.cc In file included from /usr/include/gtk-1.2/gdk/gdk.h:31, from app.h:50, from main.h:29, from main.cc:40: /usr/include/gtk-1.2/gdk/gdktypes.h:52: conflicting types for `typedef gulong GdkAtom' /usr/include/wx/defs.h:2058: previous declaration as `typedef struct _GdkAtom*GdkAtom' /usr/include/gtk-1.2/gdk/gdktypes.h:57: conflicting types for `typedef struct _GdkWindow GdkWindow' /usr/include/wx/defs.h:2059: previous declaration as `typedef struct _GdkDrawable GdkWindow' /usr/include/gtk-1.2/gdk/gdktypes.h:58: conflicting types for `typedef struct _GdkWindow GdkPixmap' /usr/include/wx/defs.h:2061: previous declaration as `typedef struct _GdkDrawable GdkPixmap' /usr/include/gtk-1.2/gdk/gdktypes.h:59: conflicting types for `typedef struct _GdkWindow GdkBitmap' /usr/include/wx/defs.h:2060: previous declaration as `typedef struct _GdkDrawable GdkBitmap' make: *** [main.o] Error 1 The wx-users list advised that I sould get rid of `gtk-config --cflags`, but this seems to trigger a different compile failure. -- Yours, Mikhail Ramendik |