Skip to content

Commit d6fa640

Browse files
authored
Merge pull request #981 from jfroco/patch-1
Update windows.md
2 parents 224ff3c + fbbe242 commit d6fa640

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docs/development/retroarch/compilation/windows.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ We recommend MinGW-W64 from MSYS2. You can download MSYS2 installer from [here](
2222

2323
Follow the installation instructions and once finished start the MSYS2 shell.
2424

25-
MSYS2 shell is a maintenance shell. We are going to use this shell to install the toolchain and other packages. First order of business is to update MSYS2. Start the MSYS2 Shell and run the following commands:
25+
You may need to add "Full Control" permission to your MSYS folder (for example, C:\msys64) or run the shell as Administrator.
26+
27+
MSYS2 shell is a maintenance shell. We are going to use this shell to install the toolchain and other packages. First order of business is to update MSYS2. Start the MSYS2 MINGW64 or MINGW32 Shell (mingw64.exe or mingw32.exe), It is important to use this particular shell (MINGW) because the makefile uses it to detect the target platform as Windows.
28+
29+
Once we're in the shell, run the following commands:
2630

2731
```bash
2832
pacman --noconfirm -Sy
@@ -79,6 +83,14 @@ wget https://sourceforge.net/projects/mingw-w64-archlinux/files/x86_64/mingw-w64
7983
pacman -U mingw-w64-x86_64-nvidia-cg-toolkit-3.1-2-any.pkg.tar.xz
8084
```
8185

86+
If you encounter any errors, you may try the following procedure instead:
87+
88+
```bash
89+
pacman -S mingw-w64-x86_64-crt
90+
pacman -S mingw-w64-x86_64-nvidia-cg-toolkit
91+
```
92+
93+
8294
Once these packages are installed close MSYS2 shell and open MinGW-w32 shell or MinGW-w64 shell depending on the platform you want to build for.
8395

8496
You'll need gcc and make:
@@ -275,6 +287,13 @@ cd libretro-fceumm
275287
make -f Makefile.libretro
276288
```
277289

290+
If the Makefile.libretro is not present, as in the libretro-atari800 core, you might try the following:
291+
292+
```bash
293+
cd libretro-atari800
294+
make
295+
```
296+
278297
Optionally strip the build product:
279298

280299
```bash

0 commit comments

Comments
 (0)