Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I think I should have a folder for OpenGL headers under "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include", but there isn't one there.

How would I go about adding it? From the Visual Studio installer CD, I've tried "Add or Remove Features", which doesn't give me many options. Just Webtools, VB, C# and C++, and having C++ and C# checked when running it didn't help. I've also tried "Repair/Reinstall", which didn't have any options and didn't help.

So how do I install the OpenGL libraries? I'm pretty sure there should be a "gl" folder under include, and I'd thought it would come from the Visual Studio installer. If at all possible, I'd like to avoid having to entirely uninstall and reinstall Visual Studio.

share|improve this question

In Visual Studio add the directory to: Tools->Options->Projects and Solutions->VC++ Directories.

share|improve this answer
    
If the problem were that I could find it on my file system, but Visual Studio wouldn't find it, this would be the correct answer. However, the real problem is that I didn't know what directory to add. – cgmb Jun 13 '11 at 16:23
    
Deprecated in VS2013. – Vallentin Mar 31 at 21:40
up vote 0 down vote accepted

I found the OpenGL files. They were installed as a part of the Microsoft Windows SDK, and for Windows 7 64bit can be found under:

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .