This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How do I link libraries with g++...
- To: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Subject: How do I link libraries with g++...
- From: Hendrix <tgjp at thezone dot net>
- Date: Sun, 28 May 2000 12:01:18 -0230
- Organization: n/a
Hi guys...
I'm trying to use the Mesa (OpenGL) with g++ to develop graphics
applications, but I have no idea how to link the Mesa and Glut libraries
to my program (test.c}.... I've downloaded sample code utilizing header
files and libraries from both Mesa and Glut, but I can't compile the
sample code... I'm thinking I need to link the libraries into the
source file, but I have no idea how to do this with g++... Any help
will be greatly appreciated... Thanks...
Sincerely,
Trevor...
P.S. I have already successfully installed Mesa from source, and Glut
from RPM...