213
edits
Ccawley2011 (talk | contribs) |
Ccawley2011 (talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| border="0" cellpadding="1" cellspacing="2" style="margin-left:5em; background:#FF9999; width:80%" | |||
|- align="center" | |||
|'''NOTE''' | |||
|- style="margin-left:1em; background:#ffffff;" | |||
|- style="background:#ffffff" | |||
|Compiling with MinGW is not working out of the box. It is recommended that you use [[Compiling_ScummVM/MinGW-w64|MinGW-w64]] instead, which is far easier to set up and get working. | |||
|} | |||
== Compiling ScummVM with Minimalist GNU for Windows (MinGW) == | == Compiling ScummVM with Minimalist GNU for Windows (MinGW) == | ||
Line 156: | Line 164: | ||
Unzip the SDL2 archive in a folder, open MSYS, go to the SDL2 folder and issue this command to install the library: | Unzip the SDL2 archive in a folder, open MSYS, go to the SDL2 folder and issue this command to install the library: | ||
make install-package arch=i686-w64-mingw32 prefix= | make install-package arch=i686-w64-mingw32 prefix=/mingw | ||
Line 388: | Line 396: | ||
Then issue these commands to compile and install the library: | Then issue these commands to compile and install the library: | ||
CPPFLAGS=-D_WIN32_WINNT=0x400 cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX= | CPPFLAGS=-D_WIN32_WINNT=0x400 cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DCMAKE_BUILD_TYPE=Release -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF . | ||
make | make | ||
make install | make install | ||
Line 430: | Line 438: | ||
Then issue these commands to compile and install the library: | Then issue these commands to compile and install the library: | ||
make install.all GLEW_PREFIX= | make install.all GLEW_PREFIX=/mingw GLEW_DEST=/mingw GLEW_NO_GLU=-DGLEW_NO_GLU | ||
Line 445: | Line 453: | ||
== Compiling with Console/Text Output == | == Compiling with Console/Text Output == | ||
By default ScummVM | By default ScummVM now compiles with console output. If for some reason you do NOT want console output (which was the default behavior until recently), use the follow flag when running the configure script: | ||
./configure --disable-windows-console | |||
== Ready to go! == | == Ready to go! == | ||
OK this should be all of it (thankfully), so you should be good to go. | OK this should be all of it (thankfully), so you should be good to go. |
edits