Lecture-01: Glut Setup for CodeBlocks 20.03 | Setting Up CodeBlocks 20.03 with freeglut for Windows (CGA Lab)

            Step-1: Install Notepad++.

 

Step-2: Check Folder : i.freeglut , ii. CodeBlocks.

 

Step-3: Set up CodeBlocks in Program Files.

 

Step-4: Open freeglut folder, include, GL, Copy 4 files in GL, C drive, Program Files, CodeBlocks, MinGW, x86_64-w64-mingw32, include, GL, Paste 4 files.

 

Step-5: Open freeglut folder, lib, Copy 2 files (outside another folder), C Drive, Program Files, CodeBlocks, MinGW, x86_64-w64-mingw32, lib, Paste 2 files.

 

Step-6: freeglut, lib, x64, Copy 2 files,  C drive, Program Files, CodeBlocks, MinGW, x86_64-w64-mingw32, lib, Paste 2 files.

 

Step-7: freeglut, bin, x64, Copy 1 file, C Drive, Windows, Paste file.

 

Step-8: C Drives, Program Files, CodeBlocks, share, CodeBlocks, templates, glut.cbp, open edit with notepad++, search, Find, Replace, ‘glut32’ replace by ‘freeglut’, Replace all, File , Save, again save.

 

Again share, share, CodeBlocks, templates, wizard folder, glut folder, wizard.script, open edit with notepad++, search, Find, Replace, ‘glut32’ replace by ‘freeglut’, Replace all, File , Save, again save.

 

Step-9: CodeBlocks, File, Glut Projects, ………..

 

Step-10: main.cpp file will be created. Execute file

 

Step-11: Check Compiler, Toolchain Executables, path “ C:\Program Files\CodeBlocks\MinGW ”.



Finally executing  main.cpp file, we will show these shapes.

Requirement Softwares are being here: 


https://drive.google.com/drive/folders/1i97ZDy70nF7EdF78F3fsqzcpBZOMpD-j?usp=sharing


Post a Comment

0 Comments