VISUAL STUDIO Amjad Alsuhaim
VISUAL STUDIO Amjad Alsuhaim
1. Download the visual studio 2012 from the following link :
https://www.microsoft.com/en-us/download/details.aspx?id=34673
click download.
3- Open the exe file.
4- Click on agree checkbox.
5- click on INSTALL.
6- Wait until it finish (it may takes several hours and it will request you to restart your computer ).
7- Click LUNCH
You have to register you product click register online
Sing in using your Microsoft account and fill the form then click on continue.
YOU WILL GET YOUR PRODUCT KEY COPY IT THEN PASTE IT IN THE VISUAL STUDIO WINDOW .
OPENGL
1- Download the OpenGL library from here:
https://www.dropbox.com/s/p1dv8sgwswdbv4a/glut-3.7.6.zip?dl=0
2- Open the zip file.
3- Extract the file to the desktop.
4- Open the folder.
5- Copy the glut.h to this path C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include
You will get a warring message click on Continue
6- Copy the glut32.lib to this path C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib
You will get a warring message click on Continue
7- Copy the glut32.dll : If you have 32-bit operating system go to this path C:\Windows\System32\
If you have 64-bit operating system go to this path C:\Windows\SysWOW64\
You will get a warring message click on Continue
COMPILING OPENGL/GLUT PROGRAMS:
Open visual studio and create a new project: choose File | New from the File
Menu
select the Projects tab
open visual C++ tap
choose Win32 Console Application
fill in your Project name
Click ok
Project Name
Click finish.
include glut in the header of your file source (#include <glut.h>)