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?


Hi Marco,

 I went to setup-1.7.exe to get the libGLw-devel.  setup put libGLw.dll in
/usr/lib/libGLw.dll.a but it also put all these files:

XWin.exe      cygSM-6.dll   cygXaw3d-7.dll    cygXi-6.dll      cygXrender-1.dll
cygGL-1.dll   cygUil-2.dll  cygXcursor-1.dll  cygXm-2.dll      cygXt-6.dll
cygGLU-1.dll  cygX11-6.dll  cygXdmcp-6.dll    cygXmu-6.dll     cygXtst-6.dll
cygGLw-1.dll  cygXau-6.dll  cygXext-6.dll     cygXmuu-1.dll    cygfontenc-1.dll
cygICE-6.dll  cygXaw-7.dll  cygXfixes-3.dll   cygXpm-4.dll     cygxkbfile-1.dll
cygMrm-2.dll  cygXaw-8.dll  cygXft-2.dll      cygXrandr-2.dll

in /usr/bin and removed it from my /usr/X11R6/bin.  It also removed alot of other
files from /usr/X11R6/bin (eg glxgears) and /usr/X11R6/lib.  Luckily I had another
working cygwin system and copied the glxgears from there to the updated cygwin
system but then the glxgears didn't work.  I finally had to copy all files from
/usr/X11R6/{bin,lib} on my working cygwin to my updated cygwin and then things
work again.  The last mirror I used to update cygwin was http://mirrors.xmission.com.
Why are the mirrors not consistent in that some put files in /usr/bin and some in
/usr/X11R6/bin?  What is a good mirror that you usually use?

Thank you Marco,

Linh

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Marco Atzeri
Sent: Saturday, November 22, 2008 2:14 PM
To: cygwin-xfree@cygwin.com
Subject: 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/


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