This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]