This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Can't make an OpenGL program
- From: Bill Ramsay <RamsayW at attbi dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 04 Sep 2002 18:29:32 -0400
- Subject: Can't make an OpenGL program
I am new to both OpenGL and GCC, but not to C/C++. I am including
<GL/glut.h>, which is where it
is supposed to be (usr/include/GL under RH Linux 7.3) and apparently
the file is being found. But when
I run make or just compile I get an undefined reference for every method
I'm trying to use in glut.h.
The file looks fine and the methods are defined.
What am I doing wrong?
Bill