Posts
How to setup OpenGL in CodeBlocks
SETTING UP OPENGL IN CODEBLOCK
First of all download and install the CodeBlock on your computer from the official website http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12mingw-setup-TDM-GCC-481.exe/download
After downloading this setup install it on the computer.
Now you have to configure it for the opengl development.
First of all download the freeglut libraries,headers,and system files from the link given below
http://www.mediafire.com/download/b4s0y548eobb5a0/codeblock_freeglut.rar
After downloading this folder it should contain three folders like as shown
P1Ccfolderdes
Now you have to copy these all three folders and paste it to the given path C:\Program Files (x86)\CodeBlocks\MinGW as shown
P1CCcopyfolderstomingw
It will ask for the either replacing the existing files or not you have to select ok for merging the files with the same name.
Now 50% work here is done Now copy the dll file from the downloaded folder in the bin folder as shown
…