Building RetroArch: Difference between revisions

Monroe88 (talk | contribs)
Rewrite this page
Monroe88 (talk | contribs)
mNo edit summary
Line 27: Line 27:
  %systemdrive%\msys32\autorebase.bat
  %systemdrive%\msys32\autorebase.bat


Once the window closes, open the MSYS2 Shell again and type pacman --noconfirm -Su then repeat the previous operation to finish the process.
Once the window closes, open the MSYS2 Shell again and type <code>pacman --noconfirm -Su</code> then repeat the previous operation to finish the process.
Note: If you get fork errors, the second step may have failed. You should go to your msys2 install directory and run autorebase.bat manually. If that didn't solve the problem consider reinstalling msys2.
Note: If you get fork errors, the second step may have failed. You should go to your msys2 install directory and run <code>autorebase.bat</code> manually. If that didn't solve the problem consider reinstalling msys2.


===Installing the build time dependencies===
===Installing the build time dependencies===
Line 92: Line 92:
You should see a list of files being compiled, ending with <code>LD retroarch</code>. You can then copy the newly compiled <code>retroarch.exe</code> from <code>libretro-super\retroarch</code> to wherever you keep your RetroArch installation.
You should see a list of files being compiled, ending with <code>LD retroarch</code>. You can then copy the newly compiled <code>retroarch.exe</code> from <code>libretro-super\retroarch</code> to wherever you keep your RetroArch installation.


If needed, you can fetch all MSYS2 installed DLLs, if you are experiencing a missing DLL error, by executing this line:
If you are experiencing a missing DLL error, you can fetch all MSYS2 installed DLLs by executing this line:


  for i in $(seq 3); do for bin in $(ldd *exe *dll | grep -i mingw | cut -d\  -f 3); do cp -vu "$bin" . ; done; done
  for i in $(seq 3); do for bin in $(ldd *exe *dll | grep -i mingw | cut -d\  -f 3); do cp -vu "$bin" . ; done; done