Changes

Jump to navigation Jump to search

Compiling ScummVM/MinGW

433 bytes added, 20 January
Added instructions for MinGW Installation Manager
== Compiling ScummVM with Minimalist GNU for Windows (MINGWMinGW) ==
MinGW is "a collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs".
=== MinGW and MSYS ===
 
==== GUI Installation ====
 
* Download and install the latest [https://osdn.net/projects/mingw/releases/ MinGW Installation Manager] (mingw-get-setup.exe)
* From the list of packages shown, check ''mingw-developer-toolkit-bin'', ''mingw32-base-bin'' and ''mingw32-gcc-g++-bin'' (right-click > Mark for Installation)
* Click the Installation > Apply Changes menu to install MinGW and MSYS
* Once installation is complete, you can run MSYS from inside the MinGW directory (by default C:\MinGW\msys\1.0\msys.bat)
 
==== Manual Installation ====
Download MinGW:
*[http://sourceforge.net/projects/mingw/files/Other/Unsupported/MSYS/msysDTK/msysDTK-1.0.1/msysDTK-1.0.1.exe/download msysDTK]
Check Both MinGW and MSYS need to be installed and working to compile ScummVM: * Create a directory called mingw in the "root directory of drive (ie C:\MinGW\ )* Extract all the mingw packages to the mingw directory* Then, install MSYS. After installation, a new console window will appear, asking if you wish to proceed with the post install. Answer 'y''Installing to that prompt. You will then be asked if you have MinGW and MSYS'installed. Answer 'y'to that and then type in the path of your MinGW directory using forward slashes (e.g. C:/MinGW). Make sure that there is no "make" utility in the MinGW bin folder, as this will clash with the make utility in MSYS. With the recent packages described in the section below for instructions on how to create your ScummVM compilation environmentabove, you shouldn't have that problem.* After both MinGW and MSYS are installed correctly, install MSYS DTK
=== Libraries needed ===
** You need at least v1.0.9. Newer versions than this should work, but require GTK's glib and CMAKE to build.
==== Precompiled libraries ====
To ease the whole process, a package of all the needed precompiled libraries has been created.
All you need to do is:
* Download the precompiled libraries and the [http://www.libsdl.org/release/SDL-1.2.15-win32.zip latest SDL runtime library] - latest version is 1.2.15 at the time this was written, you can find the latest version [http://www.libsdl.org/download-1.2.php here]. Precompiled libraries:
** [http://www.scummvm.org/frs/build/scummvm-required-libs-mingw.zip Precompiled libraries]
 == Installing MinGW and MSYS == Both MinGW and MSYS need to be installed and working to compile ScummVM.  * Create a directory called mingw in the root directory of drive (ie C:\MinGW\ )* Extract all the mingw packages to the mingw directory* Then, install MSYS. After installation, a new console window will appear, asking if you wish to proceed with the post install. Answer 'y' to that prompt. You will then be asked if you have MinGW installed. Answer 'y' them to that and then type in the path of your MinGW directory using forward slashes (e.g. C:/\MinGW). Make sure that there is no "make" utility in the MinGW bin folder, as this will clash with the make utility in MSYS. With the recent packages described in the section above, you shouldn't have that problem.* After both MinGW and MSYS are installed correctly, install MSYS DTK
=== Additional information about MinGW and Windows Vista ===
In order to get MinGW properly working under Windows Vista, you need to do the following:
7

edits

Navigation menu