-
Install 32-bit MinGW:
- Follow this video tutorial: MinGW Installation Guide.
- Install the
mingw32-baseandmingw32-gcc-g++packages.
-
Install
gdbDebugger:- Ensure
gdbis installed by runninggdb --versionin the terminal (included inmingw32-basepackage).
- Ensure
-
Add MinGW to your PATH:
- Add the MinGW
bindirectory (usuallyC:\MinGW\bin) to your system's PATH.
- Add the MinGW
-
Clone the repository:
git clone https://github.com/mjospovich/GLFW-config-for-Win11.git cd GLFW-config-for-Win11 -
Open the folder in VS Code:
code .
Ctrl + Shift + Bto compile the project.- Run the program by executing
./build/main.exe.
F5to compile, debug, and run the project.Ctrl + F5to run without debugging.