View Full Version : compile errors in VC 6.0
Dajoka
01-30-2001, 09: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, 11:03 AM
It should be gl/gl.h.
Dajoka
01-30-2001, 12: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, 01:26 PM
Did you install the glut header and library? GLUT is not part of the default MSVC setup.
Dajoka
02-02-2001, 03: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.
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.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.