Click here to Skip to main content
15,884,837 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am trying to get OpenGL running on MS Visual Studios 2012. I tried getting information on how to do it but no one seems to be providing step by step instructions on how to do it. I am using Windows 7 32 bits and I know I will need the glew32, glut32 and opengl32 but I just don't know where to find these and how to configure it with MS Visual Studios 2012.

Your help is much appreciated.
Posted

1 solution

1. Copy *.dll files to C:\Windows\System32
2. Copy *.h to C:\Program Files\Microsoft Visual Studio 11.0\VC\include\GL -- Create gl folder
3. Copy *.lib to C:\Program Files\Microsoft Visual Studio 11.0\VC\lib

you can find the install here http://www.opengl.org/resources/libraries/glut/glut37.zip[^]
 
Share this answer
 
Comments
wayten 5-May-13 19:25pm    
I did what you told me to do but I get an error saying: LNK1104 cannot open glew32.lib
Santhosh G_ 6-May-13 12:18pm    
copy glew32.lib from the lib path to visual studio lib path.
Download it from http://glew.sourceforge.net/install.html or any other web reosurce
Lebohang Danster 6-May-13 12:32pm    
Think you are confusing things here, The installation I gave you is for installing the glut library. To install glew32,you will need to follow the following instructions. http://glew.sourceforge.net/install.html

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900