[aravis] Compiling the aravis viewer in Ubuntu 10.10

  • From: Andre Gaschler <gaschler@xxxxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Mon, 23 May 2011 09:56:43 +0200



Dear Emmanuel,

I tried to compile the viewer for quite some time, and could not find why it does not work with my GTK. All the rest compiled quite nicely, and Im very happy you are taking the effort to make an open source library for GigE cameras.

Im using Ubuntu 10.10 and i think i got all the GTK 2.0 dev packages.

Heres what configure says:
...
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.14... yes
checking for ARAVIS... yes
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for gobject-introspection... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
...

Heres what make -C viewer says:
make: Entering directory `/home/james/aravis-0.1.6/viewer'
  CC     arvviewer.o
arvviewer.c:23: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [arvviewer.o] Error 1
make: Leaving directory `/home/james/aravis-0.1.6/viewer'

BTW, locate gtk.h says
/usr/include/gtk-2.0/gtk/gtk.h

and ldconfig -v | grep libgtk
    libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.2200.0
    libgtkhtml-editor.so.0 -> libgtkhtml-editor.so.0.0.0
    libgtkmm-2.4.so.1 -> libgtkmm-2.4.so.1.1.0
    libgtksourceview-2.0.so.0 -> libgtksourceview-2.0.so.0.0.0
    libgtkspell.so.0 -> libgtkspell.so.0.0.0
    libgtk-vnc-1.0.so.0 -> libgtk-vnc-1.0.so.0.0.1
    libgtkhtml-3.14.so.19 -> libgtkhtml-3.14.so.19.1.1



Have got any hints for me, would be highly appreciated.

Best regards from Munich,

Andre




Other related posts: