[uae] Re: problem compiling

  • From: Martin Garton <martin@xxxxxxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Wed, 7 Apr 2004 09:04:09 +0100 (BST)

On Wed, 7 Apr 2004, Giorgio Moscardi wrote:

> gtkui.c:37:21: gtk/gtk.h: No such file or directory
> gtkui.c:38:21: gdk/gdk.h: No such file or directory
> gtkui.c:39:28: gdk/gdkkeysyms.h: No such file or directory
> In file included from gtkui.c:41:
> ../../src/gui-gtk/cputypepanel.h:6:21: gdk/gdk.h: No such file or directory
> ../../src/gui-gtk/cputypepanel.h:7:26: gtk/gtkframe.h: No such file or 
> directory
> In file included from gtkui.c:42:
> ../../src/gui-gtk/cpuspeedpanel.h:10:21: gdk/gdk.h: No such file or directory
> ../../src/gui-gtk/cpuspeedpanel.h:11:26: gtk/gtkframe.h: No such file or 
> directory
> make[3]: *** [gtkui.o] Error 1
> make[3]: Leaving directory `/tmp/uae-0.8.25-20040302/src/gui-gtk'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/uae-0.8.25-20040302/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/uae-0.8.25-20040302/src'
> make: *** [all-recursive] Error 1
> 
> it's pretty weird as, of course, gtk is installed and i have never had any 
> problems with it. it seems that it doesn't include files 
> from /usr/include/gtk-2.0. i tried forcing it with 
> CPPFLAGS=-I/usr/include/gtk-2.0, but nothing changed. i also tried 
> configuring with --with-gtk-prefix=/usr/include/gtk-2.0, with no results 
> either. I finally managed to get it to work symlinking all the files in that 
> directory to /usr/include, but i don't think it's meant to be this way ;).
> 
> any hints?

What does "pkg-config gtk+-2.0 --cflags" return?

Cheers,
Martin.



Other related posts: