This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]