Installing freeglut on Visual Studio 2022
- 1. Download freeglut.zip, extract it to C:\.
- 2. Open include folder in VS2022 root folder.
xxx\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.XXXXX\include
Put gl folder in this folder.
- 3. Open lib folder in VS2022 root folder.
xxx\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.XXXXX\lib\x86
Put both lib files in this folder.

- 4. Open system folder.
If your system is 32 bits , opening C:\Windows\System32.
If your system is 64 bits , opening C:\Windows\SysWOW64.
Put both of dll files in this folder.
- 5. Create a new project.
Install nupengl from the NuGet in project.
Install both of cores.
Your program should be compile now.
- Reference:
https://zhuanlan.zhihu.com/p/486459964