New to OpenGl & C++ Help needed
I want to install OpenGl so I can use it in MS Visual C++.
When I try to compile a program I have written I get the following message ''fatal error C1083: Cannot open include file: ''gl/glut.h'': No such file or directory
Error executing cl.exe.''.
Could any one please help me, and either provide me with a tutorial for installing in windows 9x (I didn''t see one in the tutorials section), or tell me exactly what I need to download, and how to install them.
Thanks
p.s. i''m new to this so please explain as clearly as possible, just so I don''t get even more confused than I already am
Al
i''m pretty sure youve got the ''/'' wrong. it should be:
#include
if that doesn''t work, make sure that glut.h is in your compiler''s include directory, under the sub directory ''gl''.
hope that helps.
#define ignite_software 1
#include
if that doesn''t work, make sure that glut.h is in your compiler''s include directory, under the sub directory ''gl''.
hope that helps.
#define ignite_software 1
[source]#define ignite_software 1[/source]
glut isn''t a standard part of the GL distribution, it''s a utility library created by SGI. You need to download and install it separatly. You can download a copy for windows from:
http://www.xmission.com/~nate/glut.html
http://www.xmission.com/~nate/glut.html
Make sure you have the glut.h header file in the ..\include\gl directory. After you have put it in the right directory include it like this:
#include gl\gl.h
#include gl\glut.h
Edited by - DefaultUser on October 25, 2000 4:26:28 PM
#include gl\gl.h
#include gl\glut.h
Edited by - DefaultUser on October 25, 2000 4:26:28 PM
Forget about that buggy code, let's start all-over - from scratch. Let's go!
sorry, that should be gl\glut.h
i dont really know how the formatting in the forums work yet!
#define ignite_software 1
i dont really know how the formatting in the forums work yet!
#define ignite_software 1
[source]#define ignite_software 1[/source]
no it should really be GL/glut.h unix is case sensitive
btw the latest glut version for windows is here
http://members.xoom.com/myBollux
btw the latest glut version for windows is here
http://members.xoom.com/myBollux
Unix?! AH! I wish I cared enough to go with Unix... But Diablo II is sooooo much fun... And, btw, he DID say "installing in windows 9x", in case you didn''t catch that...
S.
S.
Hopefully this will be the last of my problems, but during the linking stage I always get the following message:
"C:\Program Files\DevStudio\VC\LIB\glut32.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x39d512d7
Error executing link.exe."
Ok so theres something wrong with glut32.lib, is there another version of this to dl? Or can someone here send me a ''working'' glut32.lib?
Thanks
"C:\Program Files\DevStudio\VC\LIB\glut32.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x39d512d7
Error executing link.exe."
Ok so theres something wrong with glut32.lib, is there another version of this to dl? Or can someone here send me a ''working'' glut32.lib?
Thanks
October 29, 2000 12:33 PM
I think that the problem is that libraries is for VC6 and you have an older version. In the Platform SDK is the new link.exe an alternative is to build the library yourself.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement