Open main menu

Changes

Compiling ScummVM/Visual Studio/Compiling Libraries

27 bytes added, 17:07, 25 October 2018
m
Text replacement - "<source lang=" to "<syntaxhighlight lang="
We used the following patch when compiling SDL 1.2, which is required for x64 support. The patch was gladly taken from the SDL mailing list.
<source syntaxhighlight lang="diff">
--- src/video/windx5/SDL_dx5video.c Tue Oct 13 00:07:16 2009
+++ src/video/windx5/SDL_dx5video.c Tue Nov 03 21:14:38 2009
You will also need to apply the following patch to mad.h:
<source syntaxhighlight lang="diff">
--- mad.h Tue Nov 03 18:29:06 2009
+++ mad.h Tue Nov 03 18:29:14 2009
We used the following patch when compiling libfaad to adjust for changes in the MSVC runtime:
<source syntaxhighlight lang="diff">
diff -ru '--exclude=*vcx*' '--exclude=*sln*' sources.orig/faad2-2.7/libfaad/common.h sources/faad2-2.7/libfaad/common.h
--- sources.orig/faad2-2.7/libfaad/common.h 2009-02-05 01:51:03.000000000 +0100
TrustedUser
1,684

edits