Results 1 to 4 of 4

Thread: Setting up OpenGL in VC++

  1. #1
    Newbie Newbie
    Join Date
    Mar 2015

    Question Setting up OpenGL in VC++

    Hello everyone, I am looking at working with OpenGL and C++ in order to create games/interactive animations. I have a reasonable knowledge og the C++ language. I am unsure of how to get OpenGL working with VC++. Many people have mentioned Glew, Glut etc. In all honesty I'm completely in the dark about what it is that's essential to get me started and what all of the different libraries acctually do.

    Any help would be greatly appreciated!

    Thank you very much,


  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2015
    Well, I try to shed light on the issue.
    I assume you have config vc correctly, as you say you are familae with gl and c++.
    first of all, you will include head glew or glut, which are application libs you will use.
    #include glew.h
    #inclde glut.h.....
    your program.
    *attention, the glew.h must locat in front of glut.h.
    you start your console or windows prog as normal. then you use opengl statements in the prog,
    when the prog sees the gl, or glut prefix commands, the opengl will be enterend to operate to call their libs. opengl opens a window to let you draw pictures,
    opengl has opened a buffer, which is different from os itself.

  3. #3
    Newbie Frequent Contributor
    Join Date
    Mar 2016
    You may want to take a look at the Getting Started wiki page.

  4. #4
    Junior Member Newbie
    Join Date
    Jan 2015
    Glut is a windowing toolkit and will help in creating an opengl window where you can draw. All of mentioned libraries are nothing but headers .lib and dll files. You can link your app with them and start development. I do have a glut based visual C project. I can send it if you want on email. Thanks

Similar Threads

  1. Setting up Opengl
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-14-2004, 09:29 AM
  2. Setting up OpenGl under VC7
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-22-2004, 11:38 AM
  3. Setting up OpenGL ( for VC++)
    By Ittai in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-08-2003, 07:32 AM
  4. Setting up OpenGL
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-23-2002, 05:23 PM
  5. help setting up openGL!!
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-28-2002, 02:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean