Changes

Jump to navigation Jump to search

Compiling ScummVM/MinGW

727 bytes added, 22:48, 16 February 2014
Add FluidSynth
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
make
656

edits

Navigation menu