* libglut.a
@ 2000-06-15 12:36 Andre Bleau
0 siblings, 0 replies; only message in thread
From: Andre Bleau @ 2000-06-15 12:36 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
How do one link with libglut.a or libglut32.a ? nm reveals that
/lib/libglut.a does not define the glut functions but rather some reference
to it; e.g., it defines glutInitDisplayMode@4 instead of
glutInitDisplayMode. I can't link even the following simple test code:
#include <string.h>
#include <GL/glut.h>
void main(int argc, char* argv[])
{
/****************************************/
/* Initialize GLUT and create window */
/****************************************/
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
}
Ld complains an undefined reference to `glutInitDisplayMode' when I link
with -lglut or -lglut32.
André Bleau, ing., analyste
bleau@courriel.polymtl.ca
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
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-06-15 12:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-15 12:36 libglut.a Andre Bleau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).