There are several ways to get setup on Windows. This page will go through them from the easiest to the most difficult.
@ -16,11 +16,11 @@ This is an open source C/C++ toolchain that is very lightweight. The best way to
https://github.com/skeeto/w64devkit/
Download the w64devkit zip file, unzip it and run W64Devkit.exe. that will give you a terminal that is ready to go.
*Note* that old MinGW (Not w64) from mingw.org will not work with Raylib. You need to use MinGW-w64.
*Note* that old MinGW (Not w64) from mingw.org will not work with raylib. You need to use MinGW-w64.
*MSYS2 Note* We do not recommend using MSYS2 to get GCC, even though several tutorials suggest it. It can be difficult to configure properly and does not always include all the things needed for a complete development system. The W64-Devkit is a much better way to get the needed toolchain for building games with Raylib.
*MSYS2 Note* We do not recommend using MSYS2 to get GCC, even though several tutorials suggest it. It can be difficult to configure properly and does not always include all the things needed for a complete development system. The W64-Devkit is a much better way to get the needed toolchain for building games with raylib.
## Raylib-Quickstart, the simple solution to get started quickly.
## raylib-quickstart, the simple solution to get started quickly.
The quickstart is a cross platform template for all desktop platforms that will setup raylib automatically.
@ -85,7 +85,7 @@ Using MinGW make tool, just navigate from command line to `raylib/src/` folder a
### Installing and building raylib via vcpkg
You can download and install Raylib using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
You can download and install raylib using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
@ -106,7 +106,7 @@ The instructions below are focused on compiling raylib using Notepad++ as the ed
Just open `raylib/src/raylib.h` source file on Notepad++ and execute (F6) the script `raylib_source_compile`
## A note on dependencies
Raylib includes all of it's own external dependencies on windows. There are only 2 system libraries that need to be linked to raylib for a game to work.
raylib includes all of it's own external dependencies on windows. There are only 2 system libraries that need to be linked to raylib for a game to work.
* GDI32: This is the interface to the window setup and drawing functions that raylib and GLFW need to work on Windows.
* WinMM: This is contains the high resolution timer code used by GLFW for precise timing in the game loop.