The steps to install openGL with CodeBlocks are: 1) Install CodeBlocks mingw version. 2) Adjust the compiler settings to point to the CodeBlocks MinGW directory. 3) Copy the freeglut DLL and header files to the appropriate system directories and CodeBlocks include path. 4) Edit CodeBlocks template files to replace references to glut32 with freeglut. 5) Create a new CodeBlocks project pointing to the CodeBlocks MinGW folder and include windows.h as the first header file.
The steps to install openGL with CodeBlocks are: 1) Install CodeBlocks mingw version. 2) Adjust the compiler settings to point to the CodeBlocks MinGW directory. 3) Copy the freeglut DLL and header files to the appropriate system directories and CodeBlocks include path. 4) Edit CodeBlocks template files to replace references to glut32 with freeglut. 5) Create a new CodeBlocks project pointing to the CodeBlocks MinGW folder and include windows.h as the first header file.
The steps to install openGL with CodeBlocks are: 1) Install CodeBlocks mingw version. 2) Adjust the compiler settings to point to the CodeBlocks MinGW directory. 3) Copy the freeglut DLL and header files to the appropriate system directories and CodeBlocks include path. 4) Edit CodeBlocks template files to replace references to glut32 with freeglut. 5) Create a new CodeBlocks project pointing to the CodeBlocks MinGW folder and include windows.h as the first header file.
2. Adjust Compiler setup[setting->compiler->toolchainexecutables] paste C:\Program Files (x86)\CodeBlocks\MinGW at compiler1s installation directory 3. open freeglut folder 3.1. open bin-> copy freeglut.dll paste it to windows->syswow64 for 64 bit win or windows->systems32 forlder for 32 bit win 3.2. open include->GL copy all files then paste it to proram files (x86)->codeblock->mingw ->include->GL PASTE HERE 3.3. open lib select the two files goto proram files (x86)->codeblock->mingw->lib paste here 4. open notepad as admin file->open program files (x86)->codeblock->share->codeblock->template->view all files open glut.cbp file edit->replace-> glut32 with freeglut save it again goto program files (x86)->codeblock->share->codeblock->template->withard->glut-> open withard.script file edit->replace-> glut32 with freeglut save it
5. open codeblock->new project
give glut location as C:\Program Files (x86)\CodeBlocks\MinGW 6. do not forget to include windows.h as the very first herader file