Open main menu

Difference between revisions of "Compiling ScummVM/Visual Studio"

m
→‎libmad: definition change only applies to release mode
m (→‎SDL: update for x64.)
m (→‎libmad: definition change only applies to release mode)
Line 125: Line 125:
Open and compile the "libmad" solution
Open and compile the "libmad" solution


'''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. Afterward you will 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" there.
'''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: TODO (host it somewhere...)
You will also need to apply the following patch to mad.h: TODO (host it somewhere...)
561

edits