I typed in the beginning few lines of a tut:
int main(int argc,char** argv)
glutInit (&argc, argv);
got these errors:
[Linker error] undefined reference to `glutInit@8'
[Build Error] [Project1.exe] Error 1
I've put glu32,opengl32,user32,gdi32,glaux,advapi32 in the parameters box. Why do I keep getting the linker error?
Do you have opengl on your machine?
How do you mean? If I've got the gl header files and libs then isn't that enough?
What I mean is: are you sure that you have the actual libraries and specific header files that you need?
If you didn't actually install the opengl libraries they you may not have the required files that you need. i.e. with MVSC++ 6 only has three header files in the GL include directory. GL.H, GLAUX.H, and GLU.H
I guess that's my problem - I don't know which header/lib the GlutInit needs. Anybody know how you find out?