Package: wx2.6-headers
Version: 2.6.3.2.1.5
Severity: normal

One cannot use wx for building project, there is a missing dependencie:

In file included from /usr/include/wx-2.6/wx/glcanvas.h:26,
                 from 
/home/mmalaterre/Projects/gdcm/trunk/Utilities/wxWidgets/wxVTKRenderWindowInteractor.h:69,
                 from 
/home/mmalaterre/Projects/gdcm/trunk/Utilities/wxWidgets/wxGDCMFrame.cpp:4:
/usr/include/wx-2.6/wx/gtk/glcanvas.h:25:20: error: GL/glu.h: No such file or 
directory
/home/mmalaterre/Projects/gdcm/trunk/Utilities/wxWidgets/wxGDCMFrame.cpp:16: 
warning: unused parameter 'style'
/home/mmalaterre/Projects/gdcm/trunk/Utilities/wxWidgets/wxGDCMFrame.cpp:34: 
warning: unused parameter 'event'
/home/mmalaterre/Projects/gdcm/trunk/Utilities/wxWidgets/wxGDCMFrame.cpp:40: 
warning: unused parameter 'event'
/home/mmalaterre/Projects/gdcm/trunk/Utilities/wxWidgets/wxGDCMFrame.cpp:67: 
warning: unused parameter 'event'
make[2]: *** [Utilities/wxWidgets/CMakeFiles/wxGDCM.dir/wxGDCMFrame.cpp.o] 
Error 1
make[1]: *** [Utilities/wxWidgets/CMakeFiles/wxGDCM.dir/all] Error 2
make: *** [all] Error 2


Installing libglu1-mesa-dev solve the issue. One can verify:

$ grep include /usr/include/wx-2.6/wx/gtk/glcanvas.h
#include "wx/scrolwin.h"
#include "wx/app.h"
#include <GL/gl.h>
#include <GL/glx.h>
#include <GL/glu.h>

indeed glu.h is required

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'testing'), (40, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to