error: gtk/gtk.h: No such file or directory

2011-09-28
2013-05-09
  • Hello @all,

    I am triing to install IVT under Ubuntu Linux.

    When i use the "make" command unter the Directory  IVT/src. I got the following Failure.

    g++ -O3   -DUSE_GTKGUI -I../../src -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I. -c gui/GUIFactory.cpp -o build/gui_factory.o
    In file included from gui/GUIFactory.cpp:239:
    ./gui/GTK/GTKMainWindow.h:18: fatal error: gtk/gtk.h: No such file or directory
    compilation terminated.
    make: ***  Fehler 1

    I searched the file "gtk.h" in my complete hard drive but found nothing.

    Can anyone help me please?

     
  • Pedram Azad
    Pedram Azad
    2011-09-28

    Hello,

    you have to install the Ubuntu package libgtk2.0-dev (or libqt4-dev, but then you have to set in IVT/src/Makefile.base accordingly: USE_GTKGUI = 0, USE_QTGUI = 1, USE_QT4 = 1).

    Pedram