Install git(https://gitforwindows.org/) and install vcpkg
using: git clone https://github.com/microsoft/vcpkg.git C:\dev\vcpkg
Inside Developer Powershell:
- cd C:\dev\vcpkg
- vcpkg install sdl2
- vcpkg install sdl3
- vcpkg install glad:x64-windows
- vcpkg install glew:x64-windows
- vcpkg integrate install
Right mouse click project / properties:
- Add to C++ / General / Additional Include Directories: C:\dev\vcpkg\installed\x64-windows\include
- Add to Linker / General / Additional library Directories: C:\dev\vcpkg\installed\x64-windows\lib
- Add to Linker / Input / Additional Dependencies:
glad.lib
opengl32.lib
SDL2.lib
(plus any others you need, like SDL2_image.lib if you use them). - Add to Build Events / Post Build: "C:\dev\vcpkg\installed\x64-windows\bin\SDL2.dll" $(OutDir)

