Difference between revisions of "Compiling ScummVM/MinGW-w64"

Jump to navigation Jump to search
m
no edit summary
m
Line 89: Line 89:


That's it, you successfully compiled ScummVM from the source code.
That's it, you successfully compiled ScummVM from the source code.
== Common Issues ==
* If the executable compiles correctly, but you get a "somelibrary.dll missing" error when executing it, you just need to add the following path to your PATH variable: <installdir>/msys<env>/mingw64/bin/
* If the configure script gives an error about using msys mode, please make sure you are running the '''mingw-w64 win32 shell''' or the '''mingw-w64 win64 shell''', and not the '''msys2 shell''' from the MSYS2 package, when building ScummVM.


== Ship required libraries for running ScummVM on a "non-MSYS2" machine ==
== Ship required libraries for running ScummVM on a "non-MSYS2" machine ==
Line 102: Line 96:
In order to copy all required .dll files to the directory where the ScummVM executable is located, run the following command in your build directory:
In order to copy all required .dll files to the directory where the ScummVM executable is located, run the following command in your build directory:
  <code>for i in $(seq 3); do for bin in $(ntldd -R *exe | grep -i mingw | cut -d">" -f2 | cut -d" " -f2); do cp -vu "$bin" . ; done; done</code>
  <code>for i in $(seq 3); do for bin in $(ntldd -R *exe | grep -i mingw | cut -d">" -f2 | cut -d" " -f2); do cp -vu "$bin" . ; done; done</code>
== Common Issues ==
* If the executable compiles correctly, but you get a "somelibrary.dll missing" error when executing it, you just need to add the following path to your PATH variable: <installdir>/msys<env>/mingw64/bin/
* If the configure script gives an error about using msys mode, please make sure you are running the '''mingw-w64 win32 shell''' or the '''mingw-w64 win64 shell''', and not the '''msys2 shell''' from the MSYS2 package, when building ScummVM.
329

edits

Navigation menu