Skip to content

Commit a19367d

Browse files
authored
Updated MinGW installation instructions
1 parent 530179f commit a19367d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

docs/InstallingDependencies.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,15 @@ $ sudo dnf install alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel
7777
For the project build system to function correctly, you will need to have Git installed on your system if it isn't already (it's a good idea to have it anyway - take it from us). You can install it by [downloading it from here](https://git-scm.com/download/win) and going through the setup wizard.
7878

7979
### Installing MinGW
80-
Building raylib libraries requires the installation of MinGW ([32](http://www.mingw.org/) and [64](http://mingw-w64.org/doku.php/download) bit versions). Please ensure that you link MinGW's `bin` directory to your system environment variables for BOTH the 32 and 64 bit versions. You can follow the instructions here for the [32-bit](https://www.youtube.com/watch?v=sXW2VLrQ3Bs) and here for the [64-bit](https://code.visualstudio.com/docs/cpp/config-mingw) bit versions.
80+
Building raylib libraries requires the installation of [MinGW-w64](https://www.mingw-w64.org). This can be done in several ways, but for the purpose of this documentation, we suggest either direct installation and linking on your system, or installing via the MSYS2 package manager. Both methods are outlined below:
81+
82+
#### Installing Direct
83+
To install directly, you can follow the instructions [here](https://www.youtube.com/watch?v=sXW2VLrQ3Bs) for the 32-bit and [here](https://code.visualstudio.com/docs/cpp/config-mingw) for the 64-bit version. Please ensure that you have linked link MinGW's `bin` directory to your system environment variables for BOTH the 32 and 64 bit versions.
84+
85+
#### Installing via MSYS2
86+
To install via [MSYS2](https://www.msys2.org/), install the package manager and then install the following packages via its provided UCRT terminal:
87+
- `mingw-w64-ucrt-x86_64-gcc`
88+
- `mingw-w64-ucrt-x86_64-make`
8189

8290
After installing MinGW, you should have G++ installed. You can verify this by running:
8391
```console

0 commit comments

Comments
 (0)