I’ve got a problem with a code snippet from a book. I’ve typed it like in the book, but when I want to compile it with lcc-win32, bcc or Dev-C++ 4, it don’t work. Message is that there would be a hell lot of errors in gl.h.
The code is from “OpenGl Programming Guide”. It’s release 1 from '93, but does this matter? PLZ help me, otherwise I’ll have 2 use DX and I really wouldn’t like it…
cu all and thx,
M
Update: When compiling it with Dev, computer locks up. So does it when using the newest version of lcc.
Who knows help?
[This message has been edited by Maniac (edited 11-12-2001).]
Then click on the Link tab and there should be an edit box where you type in the names of libraries you want to import. Add the name opengl32.lib to that list. I believe this will cover the gl.h and glu.h headers. In order to use glut.h, you’ll also need to add glut32.lib.
Owlet
[This message has been edited by Owlet (edited 11-12-2001).]