Difference between revisions of "Compiling ScummVM/MinGW"

Jump to navigation Jump to search
Add FluidSynth
(Add libmpeg2 again)
(Add FluidSynth)
Line 218: Line 218:
Unzip the flac archive in a folder, open MSYS, go to the flac folder and issue these commands to compile the library:
Unzip the flac archive in a folder, open MSYS, go to the flac folder and issue these commands to compile the library:


./configure --disable-shared
make
To install the library, type:
make install prefix=/mingw
=== FluidSynth ===
We use fluidsynth 1.0.9, since later versions requires GTK.
Unzip the fluidsynth archive in a folder, open MSYS, go to the fluidsynth folder and apply the following patch:
<syntax type="diff">
--- include/fluidsynth.h
+++ include/fluidsynth.h
@@ -28,12 +28,7 @@
#endif
#if defined(WIN32)
-#if defined(FLUIDSYNTH_DLL_EXPORTS)
-#define FLUIDSYNTH_API __declspec(dllexport)
-#elif defined(FLUIDSYNTH_NOT_A_DLL)
-#define FLUIDSYNTH_API
-#else
-#define FLUIDSYNTH_API __declspec(dllimport)
+#define FLUIDSYNTH_API
#endif
#elif defined(MACOS9)
</syntax>
Then issue these commands to compile the library:
  ./configure --disable-shared
  ./configure --disable-shared
  make
  make
657

edits

Navigation menu