Open main menu

Difference between revisions of "Compiling ScummVM/MinGW"

(Clarify the situation with MinGW vs MinGW-w64)
Line 453: Line 453:
== Compiling with Console/Text Output ==
== Compiling with Console/Text Output ==


By default ScummVM is compiled as a Windows subsystem application with no console output. If you need the console, you will need to apply the following patch:
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:
<syntaxhighlight lang="diff">
./configure --disable-windows-console
--- a/configure
+++ b/configure
@@ -6037,6 +6037,7 @@
if test "$_windows_unicode" = yes; then
append_var DEFINES "-DUNICODE -D_UNICODE"
fi
+ LIBS=`echo $LIBS | sed -e 's/-mconsole//g' -e 's/-mwindows//g'
;;
riscos)
append_var CXXFLAGS "-mno-poke-function-name"
</syntaxhighlight>
 
Save it to your root directory and apply it with <code>patch -p1 -i path-to-patch.diff</code>.


== 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.
107

edits