213
edits
(Clarify the situation with MinGW vs MinGW-w64) |
Ccawley2011 (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 164: | 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 396: | 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 438: | 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 453: | 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