Open main menu

Difference between revisions of "Compiling ScummVM/Visual Studio/Compiling Libraries"

→‎libmad: Inlined the libmad patch into a source code box, as the link to it is down
(→‎Libraries needed: Fixed libmad library)
(→‎libmad: Inlined the libmad patch into a source code box, as the link to it is down)
Line 99: Line 99:
'''Note for x64:''' When you want to build a x64 library for libmad you will need to create your own x64 config for it. You can do so by easy conversion of the existing libmad solution files for x86. For Release mode you will also need to edit the preprocessor definitons via: Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions: there you will need to replace "FPM_INTEL" with "FPM_64BIT".
'''Note for x64:''' When you want to build a x64 library for libmad you will need to create your own x64 config for it. You can do so by easy conversion of the existing libmad solution files for x86. For Release mode you will also need to edit the preprocessor definitons via: Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions: there you will need to replace "FPM_INTEL" with "FPM_64BIT".


You will also need to apply the following patch to mad.h: [http://robertmegone.com/scummvm/build/mad.patch mad.patch]
You will also need to apply the following patch to mad.h:
 
<source lang="diff">
--- mad.h Tue Nov 03 18:29:06 2009
+++ mad.h Tue Nov 03 18:29:14 2009
@@ -24,7 +24,11 @@
extern "C" {
# endif
+#ifdef _WIN64
+# define FPM_64BIT
+#else
# define FPM_INTEL
+#endif
</source>


=== FLAC ===
=== FLAC ===
1,489

edits