where is /usr/X11R6/lib/libGLw.a on cygwin?

Phan, Linh H linh.h.phan@jpl.nasa.gov
Sat Nov 22 22:14:00 GMT 2008


Hi,

  I am getting this undefined reference to `_glwM2DrawingAreaWidgetClass' error:

$ g++ componentTest.o libInventorWidget.a -lInventorXt -lInventor -lstdc++ -L/usr/X11R6/lib -L/usr/local/lib -limage -ljpeg -liconv -lFL -lfreetype -lGL -lGLU -lXm -lXt -lXext -lXi -lX11 -lm   -o componentTest
libInventorWidget.a(MyTextureEd.o):MyTextureEd.c++:(.text+0x6b3a): undefined reference to `_glwM2DrawingAreaWidgetClass'

and it is due to this line in MyTextureEd.c++:

    Widget glx = XtCreateWidget("paletteGLX", glwMDrawingAreaWidgetClass, parent, args, n);

glwMDrawingAreaWidgetClass is defined in:
/usr/X11R6/include/GL/GLwDrawA.h:#  define glwMDrawingAreaWidgetClass   glwM2DrawingAreaWidgetClass

I know on linux "glwM2DrawingAreaWidgetClass" is defined in /usr/X11R6/lib/libGLw.a.
Does any one know where /usr/X11R6/lib/libGLw.a is on cygwin-1.7?

Thank you,

Linh

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list