A guide to help glut beginners to setup glut in Visual Studio 2019
- Download and extract the zip from https://www.mediafire.com/file/cmlnr0pj0pyha5d/Glew_and_Glut.zip/file
- Create an empty project in Visual Studio 2019
- Find solution explorer
- Right click solution explorer and click properties
- Navigate to C/C++ -> General, click on Additional Include Directories
- Add the freeglut\include folder path
- Navigate to Linker -> General, click on Additional Library Directories
- Add the freeglut\lib folder path
- Navigate to Linker -> Advanced, click on Entry Point and enter mainCRTStartup
- Click apply and ok
- copy the freeglut\bin\freeglut.dll and paste to C:\Windows\SysWOW64\