Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7129515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:15:03+00:00 2026-05-28T11:15:03+00:00

As I had many problems setting Visual Studio 2008 for using OpenGL I will

  • 0

As I had many problems setting Visual Studio 2008 for using OpenGL I will ask this question that can be useful to some people:

Which are the steps to follow in order to use OpenGL with C++ in Visual Studio 2008?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T11:15:03+00:00Added an answer on May 28, 2026 at 11:15 am

    First of all you need to have a video card and check that it works with OpenGL and the drivers are updated. I used the test in this link to check it.

    It is also important to check that Visual Studio 2008 is correctly installed and that the following path is created in your computer:

    C:\Program Files\Microsoft SDKs\Windows\v6.0A

    Now we can follow the installation steps:

    1.- Download GLUT from https://www.opengl.org/resources/libraries/glut/glut_downloads.php, unzip and copy the files as instructed below:

    • glut.h to the folder C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl\
    • glut32.lib to the folder C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\
    • glut32.dll to the folder C:\Windows\System32\

    2.- Create an empty C++ Win32 application:

    • From File menu select New → Project (Ctrl+Shift+N).
    • Select Win32 Project, enter a Name, and click OK.
    • In the Wizard click Next, then check the box next to Empty Project,
      and click Finish.

    3.- Add a new C++ source file:

    • Under the Project menu select Add New Item (Ctrl+Shift+A).
    • Select C++ File (.cpp), enter a Name, and click OK.

    4.- Link to the OpenGL libraries (important step):

    • Under the Project menu select Project Properties (Alt+F7) at the bottom.
    • Select Configuration Properties → Linker → Input from the navigation panel on the left.
    • Select All Configurations from the Configuration drop-down box at the top of the dialog. This ensures you are changing the settings for both the Debug and Release configurations.
    • Type “opengl32.lib glu32.lib glut32.lib” in Additional Dependencies and click OK (the opengl32.lib and glu32.lib are already in the system, and glut32.lib will be after downloading GLUT).

    5.- Download this sample code.

    6.- It is also necessary to set the paths in Visual Studio:

    • In Tools -> Options -> VC++ Directories -> Include Files:

      C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

    • In Configuration Properties → Linker → Additional Library
      Directories:

      C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have had many problems in Django (not all of them solved), but this
I'm just wondering if anyone has had any problems having too many subscribers for
I've had this problem many times before, and I've never had a solution I
I have had many requests come in to a project that I work on,
I'm currently working on a large and old C++ application that has had many
I need to create a web application using php, I had many users having
I had a discussion with some colleagues mentioning that there are not too many
After many months of postponing it, this week, I finally started using a new
I've had problems with many of the WYSIWYG gems/plugins for Rails, so I'm building
I've used the Maps APIs many times before and not had this problem, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.