Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. OpenGL for Visual C++ 2008

OpenGL for Visual C++ 2008

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionvisual-studiographicsgame-dev
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ranger49
    wrote on last edited by
    #1

    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

    R 1 Reply Last reply
    0
    • R Ranger49

      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

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      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.

      R 1 Reply Last reply
      0
      • R Rajkumar R

        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.

        R Offline
        R Offline
        Ranger49
        wrote on last edited by
        #3

        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...

        R 1 Reply Last reply
        0
        • R Ranger49

          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...

          R Offline
          R Offline
          Rajkumar R
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups