/glut-install

A simple batch script which installs GLUT over CodeBlocks and MSVC.

Primary LanguageCGNU General Public License v3.0GPL-3.0

OpenGL Logo

Glut Installer

A simple batch script that installs OpenGL Utility Toolkit (GLUT) over CodeBlocks.

  • Run installglut.bat

If you want to install it for MSVC you need to change properly variables in installglut-msvc.bat and then run it with administrator privileges.

Manual Installation

If the script fails for any reason, install manually:

  1. Copy glut.h to CodeBlocks\MinGW\include\GL folder.
  2. Copy glut32.lib to CodeBlocks\MinGW\lib folder.
  3. Copy glut32.dll to CodeBlocks\MinGW\bin folder.

for MSVC checkout: https://blog.albertarmea.com/post/40667525183/installing-glut-on-windows

Known Issues

Multiple undefined references

  • Add #include <windows.h> (make sure its the first declaration).

Entry Point Not Found

If you encounter the following message:

Entry Point Error

  • Paste a copy of glut32.dll beside your executable (.exe) usually found in {ProjectName}\bin\Debug.