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]

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


--- "Phan, Linh H"  ha scritto:

> 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?
> 

For this question 
http://cygwin.com/packages/
is your friend.

I presume replaced by libGLw.dll.a 

http://cygwin.com/cgi-bin2/package-cat.cgi?file=libGLw-devel%2FlibGLw-devel-7.2-2&grep=libGLw

libGLw-devel: X11 OpenGL libraries 
(widgets libdevel) 
(installed binaries and support files)

usr/include/GL/GLwDrawA.h
usr/include/GL/GLwMDrawA.h
usr/lib/libGLw.dll.a
usr/lib/pkgconfig/glw.pc


> Thank you,
> 
> Linh
> 

Regards
Marco



      

--
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]