This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: linking problem with glut
- To: Andre Bleau <andre dot bleau at courriel dot polymtl dot ca>, cygwin-xfree at sourceware dot cygnus dot com
- Subject: Re: linking problem with glut
- From: Suhaib Siddiqi <s_m_siddiqi at yahoo dot com>
- Date: Tue, 13 Jun 2000 18:53:58 -0700 (PDT)
> I have problems linking programs with the glut
> library that is distribured
> with Xfree (/usr/X11R6/static-lib/libglut.a).
Just a note. Users must either rename libglut.a
shipped with Cygwin v 1.1.1 otherwise linking will not
work. The libglut.a from Cygwin dist is is for Win32
and has no calls to X.
>
> 1. This library is masked by the one included in the
> cygwin distribution
> (/usr/lib/libglut.a), which I had to rename to
> oldlibglut.a for having g++
> to search /usr/X11R6/static-lib/libglut.a (with
> -L/usr/X11R6/static-lib
> -lglut). No big deal.
Move them to a directory you like! or rename the
shared lib directory lib to shared-lib then static-lib
to lib.
Suhaib
>
> 2. This library lacks several functions:
> glutBitmapWidth, glutGetModifiers,
> glutSetCursor, glutBitmapHelvetica12, to name a few.
>
> 3. Linking against /usr/lib/libglut.a instead
> doesn't seems to work. It
> produces a long list of undefined symbols (almost
> all glut functions). I
> checked it with the nm utility; it says
> /usr/lib/libglut.a is supposed to
> contain the missing definitions, but ld can't
> resolve them.
>
> So, does anybody has compiled a more recent version
> of the glut library ?
>
>
> André Bleau, ing., analyste
> email: bleau at courriel dot polymtl dot ca
> (Fight SPAM: encode your email-address)
>
> Département de génie électrique et Electric
> Engineering and
> de génie informatique Computer
> Engineering department
> École Polytechnique de Montréal Montreal
> Polytechnic School
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com