Results 1 to 3 of 3

Thread: Setting up OpenGL ( for VC++)

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2003
    Location
    London, UK
    Posts
    1

    Setting up OpenGL ( for VC++)

    I am an experienced VC++ programmer and I want to start learning to combine OpenGL in
    my Visual C++ project. It is not clear from
    the OpenGL website whether I can get the OpenGL for developers from my Windows NT or can I download it from somewhere or is it a
    CD i should buy from a dealer ?
    How can I get it and how do i make my Visual Studio project recognise it ?
    Help ! Thanks !

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2001
    Posts
    340

    Re: Setting up OpenGL ( for VC++)

    You have all you need in VC++.
    #include <GL/gl.h>
    link to opengl32.lib
    That's it.

    You can download complete working examples from NeHe : http://nehe.gamedev.net (see OpenGL Tutorials; each has a VC++ project for download)

  3. #3

    Re: Setting up OpenGL ( for VC++)

    Another simple example is Display3DS .

    Within the zip file is another zip file containing full sources.

    Just expand that project zip file to a working directory (preserving the sub-directory structure) and double-click on the Display3DS.dsw workspace file to launch VC++ with all the correct settings, libraries, etc.

    If you're using vc++ v7.0 (i.e. .Net), make sure you also designate the Display3DS mainline as your 'Startup Project'.

    Then, just 'Build' the app and start tinkering.

    Good luck,
    /p2

    [This message has been edited by ppinter1 (edited 07-08-2003).]

Similar Threads

  1. Setting up OpenGL in VC++
    By oliver_kenny in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-23-2015, 10:42 PM
  2. Setting up Opengl
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-14-2004, 09:29 AM
  3. Setting up OpenGl under VC7
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-22-2004, 11:38 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