PDA

View Full Version : compile errors in VC 6.0



Dajoka
01-30-2001, 10:34 AM
I'm compiling OpenGL programs and the compiler can't open the 'Fl/gl.h' file to compile. It's weird because I'm also using the "Tricks of the Game Programming Gurus" programs and when I can compile these programs, the OpenGL programs won't compile, and vice-versa.

Deiussum
01-30-2001, 12:03 PM
It should be gl/gl.h.

Dajoka
01-30-2001, 01:51 PM
Originally posted by Deiussum:
It should be gl/gl.h.

I agree. Instead of including the code from the hard disk, I typed it in (the .cpp file only) and that error still came up, even though I typed "#include <gl/glut.h> or #include "gl/glut.h".

DFrey
01-30-2001, 02:26 PM
Did you install the glut header and library? GLUT is not part of the default MSVC setup.

Dajoka
02-02-2001, 04:45 AM
Originally posted by DFrey:
Did you install the glut header and library? GLUT is not part of the default MSVC setup.

Yeah, I copied the GLUT header and library files into MSVC's include and library files.

Bob
02-02-2001, 05:49 AM
Did you place the header in the subdirectory called "gl" under the include-directory, or directly into include\?

They should be place in include\gl\, and nowhere else.