213
edits
m (Text replacement - "www.scummvm.org/frs/" to "downloads.scummvm.org/frs/") Tags: Mobile edit Mobile web edit |
Ccawley2011 (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 17: | Line 17: | ||
* [http://www.libsdl.org/download-1.2.php SDL 1.2]. | * [http://www.libsdl.org/download-1.2.php SDL 1.2]. | ||
** You need the latest SDL 1.2 source code revision from | ** You need the latest SDL 1.2 source code revision from GitHub ([https://github.com/libsdl-org/SDL-1.2/tree/99d7f1d1c5492f0fb3c799255042ca7a3f4a5de4 99d7f1d1c5492f0fb3c799255042ca7a3f4a5de4] at the time of writing). | ||
* [https://www.libsdl.org/projects/SDL_net/release-1.2.html SDL_net 1.2]. Optional, for network support. | * [https://www.libsdl.org/projects/SDL_net/release-1.2.html SDL_net 1.2]. Optional, for network support. | ||
Line 68: | Line 68: | ||
** You need the latest liba52 source code ([http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz v0.7.4] at the time of writing). | ** You need the latest liba52 source code ([http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz v0.7.4] at the time of writing). | ||
* [https://curl | * [https://curl.se/ libcurl]. Optional, for cloud support. | ||
** You need the latest libcurl source code ([https://curl | ** You need the latest libcurl source code ([https://curl.se/download/curl-7.75.0.tar.xz 7.75.0] at the time of writing). | ||
* [http://glew.sourceforge.net GLEW]. Optional, for hardware acceleration in 3D games. | * [http://glew.sourceforge.net GLEW]. Optional, for hardware acceleration in 3D games. | ||
Line 394: | Line 394: | ||
strip scummvm.exe | strip scummvm.exe | ||
== 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: | |||
<syntaxhighlight lang="diff"> | |||
diff --git a/configure b/configure | |||
index 838c759b75..04cfd361dd 100755 | |||
--- a/configure | |||
+++ b/configure | |||
@@ -6070,6 +6070,9 @@ case $_host_os in | |||
append_var CXXFLAGS "-fdata-sections" | |||
append_var LDFLAGS "-Wl,--gc-sections" | |||
;; | |||
+ mingw*) | |||
+ LIBS=`echo $LIBS | sed -e 's/-mconsole//g' -e 's/-mwindows//g'` | |||
+ ;; | |||
n64) | |||
# Move some libs down here, otherwise some symbols requires by libvorbis aren't found | |||
# during linking stage | |||
</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. |
edits