OpenGL for Visual C++ 2008
-
Hello! I want to program OpenGL with Visual C++ 2008. How do I get the correct GL/glut.h files en library files installed on my pc? Where can I download the OpenGL library which belongs with the IDE? Does Windows Vista already have this installed? Please send me some hints. Thank you, Ranger
-
Hello! I want to program OpenGL with Visual C++ 2008. How do I get the correct GL/glut.h files en library files installed on my pc? Where can I download the OpenGL library which belongs with the IDE? Does Windows Vista already have this installed? Please send me some hints. Thank you, Ranger
GLUT is utility library provides windowing API for openGL, i believe it is not distributed with windows or platform SDK. you may need to download the latest distributable, can be from [GLUT download^]. if you mean open GL not GLUT, windows vista by default provides layered openGL over direct3D, it is not the fastest and supports upto openGL 1.4 only, but vista provides support to incorporate Vista-compatible ICDs(Installable Client Driver) to support latest advancements in openGL and those ICDs are provided by the hardware vendors. With platform SDK openGL headers are provided not GLUT. I believe OpenGL doesnot relate to VS IDE, if you installed or set the path to GL sdk you should be able to compile, for more info go to openGL.org.
-
GLUT is utility library provides windowing API for openGL, i believe it is not distributed with windows or platform SDK. you may need to download the latest distributable, can be from [GLUT download^]. if you mean open GL not GLUT, windows vista by default provides layered openGL over direct3D, it is not the fastest and supports upto openGL 1.4 only, but vista provides support to incorporate Vista-compatible ICDs(Installable Client Driver) to support latest advancements in openGL and those ICDs are provided by the hardware vendors. With platform SDK openGL headers are provided not GLUT. I believe OpenGL doesnot relate to VS IDE, if you installed or set the path to GL sdk you should be able to compile, for more info go to openGL.org.
Rajkumar R wrote:
i believe it is not distributed with windows or platform SDK. you may need to download the latest distributable, can be from [GLUT download^].
I did download GLUT and put a headerfile and a DLL file in my Visual C++ folder with the other headerfiles and dll-files. And it works. But what if I want to switch to DirectX it shouldn't be a problem I added two or three files to the programming environment? I mean I didn't delete anything! I did notice that on my Vista PC there were already two OpenGL headerfiles present but it didn´t do what I wanted, and since I am a newbe in this matter I figured if I add the GLUT headerfile I can get the examples from the book I bought about computer graphics to work. Thanks for your help...
-
Rajkumar R wrote:
i believe it is not distributed with windows or platform SDK. you may need to download the latest distributable, can be from [GLUT download^].
I did download GLUT and put a headerfile and a DLL file in my Visual C++ folder with the other headerfiles and dll-files. And it works. But what if I want to switch to DirectX it shouldn't be a problem I added two or three files to the programming environment? I mean I didn't delete anything! I did notice that on my Vista PC there were already two OpenGL headerfiles present but it didn´t do what I wanted, and since I am a newbe in this matter I figured if I add the GLUT headerfile I can get the examples from the book I bought about computer graphics to work. Thanks for your help...
Ranger49 wrote:
But what if I want to switch to DirectX it shouldn't be a problem I added two or three files to the programming environment? I mean I didn't delete anything!
DirectX and OpenGL has no dependency, you need to use DirectX SDK headers, lib ... that works independently of OpenGL and vice versa