Glu32.h
OK, I just got the book OpenGL Programming guide. I am programming in windows using Visual C++ 6. One of the examples uses the Glut library. First off, is it even possible to use Glut in a Windows based program? If so, when I try to compile the code, I get a linker error saying that it cant link glu32.h Any ideas?
1) GLUT obviously works in Windows since it is a portability layer which intends to seperate other API's and OpenGL and what decent portability layer doesn't include Windows? Short answer: Yes GLUT works in Windows.
2) Linker errors aren't caused by headers.
3) You have glu.h, but probably not glu32.h.
4) Do you have the GLUT libraries and headers installed in the first place?
[Resist Windows XP's Invasive Production Activation Technology!]
Edited by - Null and Void on January 7, 2002 5:38:24 PM
2) Linker errors aren't caused by headers.
3) You have glu.h, but probably not glu32.h.
4) Do you have the GLUT libraries and headers installed in the first place?
[Resist Windows XP's Invasive Production Activation Technology!]
Edited by - Null and Void on January 7, 2002 5:38:24 PM
I have all the headers and libs in the right spots. I am looking at them right now.
It says that it cant open Glu32.h. I am thinking that it is looking for it, but cant find it. Which is right because, I dont have that header.
Edited by - MailBoy on January 7, 2002 6:21:31 PM
It says that it cant open Glu32.h. I am thinking that it is looking for it, but cant find it. Which is right because, I dont have that header.
Edited by - MailBoy on January 7, 2002 6:21:31 PM
Try glu.h; there isn''t a glu32.h. I guess I should have made that more clear last time.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
I understand that there is no glu32.h and it is only glu.h But I still dont know what is wrong :-)
i haven''t used GLUT so i''m not all sure but isn''t its header file called "glut.h"? i have no idea what its library file is called. maybe "glut.lib"?
"And considering that my free time is severly fragmented (and my free time degragmenter is buggy)....."~SiCrane, patron of gamedev.net
The lib is called glut32.lib and the header is glut.h. I have read through the header and don''t see where a problem could be arising. I am not sure what is looking for what right now. lol
if ya can''t figure it out, then dump using glut and just use a basecode.
The reason I am using GLUT is because I was trying to stay close to the source the book is using. However, it doesn''t look like that is going to happen.
the reason most books use glut is so that they don''t have to teach you win32 setup. I don''t use glut but to my knowledge most of the code you write is in two function. some sort of Initialize and some sort of Render. If that is the case most basecodes already have an Initialize and/or a Render or can be modified easily for it. So you can still stay very close to the source code, just using a different base. since this is the NEHE forum try his basecode first.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement