Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NOTE: The default installation path is "C:\Program Files (x86)\"
- NOTE: For portable Devc++ adjust the instructions to your root install path
- 1: Download and install DevC++ (Dev-Cpp 5.11 TDM-GCC 4.9.2),
- https://sourceforge.net/projects/orwelldevcpp/
- 1.1: Install DevC++
- 2: Download Glut from
- https://users.cs.jmu.edu/bernstdh/web/common/help/glut-3.7.6-bin.zip
- 2.1: Open archive, open 'glut-3.7.6-bin' folder inside it
- 2.1.1: copy 'glut32.lib' to "C:\Program Files (x86)\Dev-Cpp\MinGW64\lib"
- 2.1.2: copy 'glut32.dll' to "C:\Program Files (x86)\Dev-Cpp\MinGW64\bin"
- 3: Download glut devpak from
- http://www.nigels.com/glt/devpak/glut-7.6-3.DevPak
- 3.1: Extract the devpak with a tool like '7zip'
- 3.1.1: Open the folder 'glut-7.6-3', open 'glut' folder. You should see 3 folders inside it and a devpak.
- 3.1.2: copy 'include' folder to "C:\Program Files (x86)\Dev-Cpp\MinGW64"
- 3.1.3: copy 'lib' folder to "C:\Program Files (x86)\Dev-Cpp\MinGW64"
- 3.1.4: copy 'Templates' folder to "C:\Program Files (x86)\Dev-Cpp"
- 3.1.5: install the devpak:
- 3.1.5.1: open Devc++, click 'Tools', click 'Package Manager', click 'Install', select and install "glut.DevPackage" that was inside the devpak
- 3.1.5.2: close the package manager
- 4: Setting up complier in devc++:
- 4.1: click 'Tools', click 'Compiler Options'
- 4.2: Change Compiler set to 'TDM-GCC 4.9.2 32-bit Release'
- 4.3: Adding glut library to compiler:
- 4.3.1: check 'Add the following commands when following the linker'
- 4.3.2: paste this in there, with quotations include
- -static-libgcc "C:\Program Files (x86)\Dev-Cpp\MinGW64\lib\glut32.lib"
- 4.4: click 'Directories', click 'Libraries'
- 4.4.1: paste this in bottom textbar and click 'Add', dont include "": "C:\Program Files (x86)\Dev-Cpp\MinGW64\lib"
- 5: Creating GLut project:
- 5.1 In Devc++ click 'File', click 'New', click 'Project', click 'Multimedia', click 'glut' and click 'Ok'
- YOURE DONE!
- ps: if you get errors either the glut32.lib path is not setup properly or the glut32.dll was not copied
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement