Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 22:08:43 +0400
From:      Evgeny <wmdenhome@mail.ru>
To:        freebsd-doc@freebsd.org
Subject:   OpenGL in FreeBSD
Message-ID:  <10922.010523@mail.ru>

next in thread | raw e-mail | index | archive | help
Hi there

 I use FreeBSD 4.2.
When I compile any OpenGL-program, prints the message:
libGL.so: undefined refference to 'sin'
libGL.so: undefined refference to 'cos'
libGL.so: undefined refference to 'tan'
Why ?
I write in shell:
# gcc -I/usr/X11R6/include -L/usr/X11R6/lib -lGL -lGLU -lglut myprogram.c                           mailto:wmdenhome@mail.ru

Best Regards,
Evgeny



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10922.010523>