Muy buenas, el caso es que estoy tratando de compilar unas librerías (dtk) usadas por el programa Devolution-Security.
Recibo los siguientes errores:
Código:
   
application.cpp:6:19: X11/X.h: No such file or directory
application.cpp:7:22: X11/Xlib.h: No such file or directory
In file included from ../include/dtk_object.h:4,
                 from ../include/dtk_application.h:4,
                 from application.cpp:9:
../include/dtk_event.h:4:19: X11/X.h: No such file or directory
../include/dtk_event.h:5:22: X11/Xlib.h: No such file or directory
In file included from ../include/dtk_object.h:4,
                 from ../include/dtk_application.h:4,
                 from application.cpp:9:
../include/dtk_event.h:70: error: syntax error before `*' token
In file included from ../include/dtk_widget.h:4,
                 from ../include/dtk_dialog.h:4,
                 from ../include/dtk_application.h:5,
                 from application.cpp:9:
../include/dtk_basewidget.h:6:19: X11/X.h: No such file or directory
../include/dtk_basewidget.h:7:22: X11/Xlib.h: No such file or directory
../include/dtk_basewidget.h:11:27: X11/keysymdef.h: No such file or directory
In file included from ../include/dtk_widget.h:4,
                 from ../include/dtk_dialog.h:4,
                 from ../include/dtk_application.h:5,
                 from application.cpp:9:
../include/dtk_basewidget.h:32: error: `Pixmap' was not declared in this scope
../include/dtk_basewidget.h:32: error: parse error before `)' token
../include/dtk_basewidget.h:67: error: ISO C++ forbids declaration of `Window'
   with no type
../include/dtk_basewidget.h:67: error: `Window' declared as a `virtual' field
../include/dtk_basewidget.h:67: error: parse error before `(' token
../include/dtk_basewidget.h:68: error: ISO C++ forbids declaration of `Display'
   with no type
../include/dtk_basewidget.h:68: error: parse error before `*' token
../include/dtk_basewidget.h:70: error: ISO C++ forbids declaration of `Display'
   with no type
../include/dtk_basewidget.h:70: error: declaration of `int BaseWidget::Display'
../include/dtk_basewidget.h:68: error: conflicts with previous declaration `int
   BaseWidget::Display'
../include/dtk_basewidget.h:70: error: parse error before `*' token
../include/dtk_basewidget.h:77: error: `XEvent' was not declared in this scope
../include/dtk_basewidget.h:77: error: `ev' was not declared in this scope
../include/dtk_basewidget.h:77: error: invalid data member initialization
../include/dtk_basewidget.h:77: error: (use `=' to initialize static data
   members)
../include/dtk_basewidget.h:77: error: `HandleKeyPress' declared as a `virtual'
   field
../include/dtk_basewidget.h:81: error: ISO C++ forbids declaration of `Display'
   with no type
../include/dtk_basewidget.h:81: error: declaration of `int BaseWidget::Display'
../include/dtk_basewidget.h:68: error: conflicts with previous declaration `int
   BaseWidget::Display'
../include/dtk_basewidget.h:81: error: parse error before `*' token
../include/dtk_basewidget.h:85: error: 'Atom' is used as a type, but is not
   defined as a type.
../include/dtk_basewidget.h:86: error: 'Window' is used as a type, but is not
   defined as a type.
../include/dtk_basewidget.h:87: error: 'Pixmap' is used as a type, but is not
   defined as a type.
../include/dtk_basewidget.h:89: error: 'GC' is used as a type, but is not
   defined as a type.
../include/dtk_basewidget.h:90: error: 'Pixmap' is used as a type, but is not
   defined as a type.
../include/dtk_basewidget.h:91: error: syntax error before `*' token
../include/dtk_basewidget.h:93: error: 'GC' is used as a type, but is not
   defined as a type.
In file included from application.cpp:9:
../include/dtk_application.h:7:19: X11/X.h: No such file or directory
../include/dtk_application.h:8:22: X11/Xlib.h: No such file or directory
application.cpp: In member function `virtual int Application::Init()':
application.cpp:33: error: 'class Widget' has no member named 'XConnect'
application.cpp: In member function `virtual int Application::RunOnce()':
application.cpp:40: error: `XEvent' undeclared (first use this function)
application.cpp:40: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
application.cpp:40: error: parse error before `;' token
application.cpp:41: error: `Display' undeclared (first use this function)
application.cpp:41: error: `d' undeclared (first use this function)
application.cpp:41: error: 'class Widget' has no member named 'GetXDisplay'
application.cpp:44: error: `XPending' undeclared (first use this function)
application.cpp:47: error: `xev' undeclared (first use this function)
application.cpp:47: error: `XNextEvent' undeclared (first use this function)
application.cpp:50: error: 'struct TEvent' has no member named 'xev'
application.cpp: In member function `virtual int
   Application::RunDialog(Dialog*)':
application.cpp:75: error: parse error before `;' token
application.cpp:84: error: 'class Widget' has no member named 'GetXDisplay'
application.cpp:86: error: `XPending' undeclared (first use this function)
application.cpp:87: error: `XNextEvent' undeclared (first use this function)
application.cpp:88: error: 'struct TEvent' has no member named 'xev'
¿Puede ser porque falta el video4linux? Este programa ha sido probado en ubuntu y yo uso debian Sarge

Muchas gracias por adelantado.