On Mon, 2005-11-28 at 18:33 +0100, Andreas Volz wrote: > Hi, > > I've some problems to compile NGL on Gentoo Linux. If I run ./configure > I get: > > ... > checking for X... libraries , headers in standard search path > checking GL/gl.h usability... no > checking GL/gl.h presence... no > checking for GL/gl.h... no > configure: error: lacking proper OpenGL support > > > And I could compile and develop my own OpenGL application without > problems. So before I start to hack in your aclocal.m4 I ask if you > know this problem. I hope you could help me.
A problem with same symptom has been fixed in the CVS repository a few weeks ago. Could you try with a fresh checkout ? (you'll need autoconf and automake) If it still fails, please send along the config.log file. > Before I spend more time on NGL/NUI perhaps you could answer me a > question. We search a OpenGL based toolkit which helps us with default > widgets. So NUI seems to fit. But we've also our own input widgets. > Is NUI easy extensible with new widgets or does it work together with > our own widgets we draw somewhere on the screen? Yes, and it's being extensively "extended" by one of the developper for specialized audio software, and it's been also used for peculiar optical interactive stuff. Basically you can copy/paste most of your GL rendering code into a template NUI widget, wire events, and here you go. > And we like to draw our 3D mesh somewhere on the screen. Is there a > special widget to draw our own stuff or could we draw it somewhere on > the screen where we like? There is a widget with some sort of pluggable renderer, see nuiMesh: http://home.gna.org/ngl/doc/nui/classnui_mesh.html The examples/viewer in NUI will use an instance of nuiMesh to display 3DS files. You can easily build upon this example.