This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
where is /usr/X11R6/lib/libGLw.a on cygwin?
- From: "Phan, Linh H" <linh dot h dot phan at jpl dot nasa dot gov>
- To: "cygwin-xfree at cygwin dot com" <cygwin-xfree at cygwin dot com>
- Date: Sat, 22 Nov 2008 14:00:07 -0800
- Subject: where is /usr/X11R6/lib/libGLw.a on cygwin?
- Accept-language: en-US
- Acceptlanguage: en-US
- References: <1227389859.321.ezmlm@cygwin.com>
- Reply-to: cygwin-xfree at cygwin dot com
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/