|
From: Alexander M. <ale...@ni...> - 2008-06-19 20:08:01
|
That certainly makes sense, and explains why I get the error - because the GLUI is trying to call a GLUT function that doesn't exist. That must mean the problem is that the version of GLUI is incompatible with the version of GLUT, so the problem has nothing to do with Mesa. By the way, is it possible to link OSMesa with a GLUT library other than the one included in Mesa, or will it only work if you link it with the Mesa one? -Alexander Mont -----Original Message----- From: Brian Paul [mailto:bri...@tu...] Sent: Thursday, June 19, 2008 3:24 PM To: Alexander Mont Cc: mes...@li... Subject: Re: [Mesa3d-users] Problems linking GLUI with Mesa on Windows Alexander Mont wrote: > When I try to link GLUI with Mesa on Windows Vista I get the following > errors: > > > > Unresolved external symbol _glutCreateNoCloseWindow@4 referenced in > function "public: class GLUI * __thiscall > GLUI_Master_Object::create_glui_subwindow(int,long)" > > Unresolved external symbol _glutCreateNoCloseSubWindow@20 referenced in > function "public: class GLUI * __thiscall > GLUI_Master_Object::create_glui_subwindow(int,long)" > > > > When I comment out the only two lines that call the given functions > (glui.cpp lines 97 and 110) it links just fine, demonstrating that these > are the only problematic lines. Of course, these functions are necessary > in order to create the window (I think) so I need to find a way to fix > this. What is going on? I've never heard/seen the glutCreateNoClose[Sub]Window() functions. They're not in the original/Kilgard GLUT included with Mesa. Maybe they're extensions in freeglut or OpenGLUT? -brian |