Changes

Jump to navigation Jump to search

Compiling ScummVM/MinGW

759 bytes added, 23:53, 17 January 2013
→‎Building the libraries: add libfaad2 and freetype
./configure --disable-shared --disable-examples
make
 
To install the library, type:
make install prefix=/mingw
 
 
=== libfaad2 ===
 
Unzip the libfaad2 archive in a folder, open MSYS, go to the libfaad2 folder and apply the following patch:
 
<syntax type="diff">
--- frontend/main.c
+++ frontend/main.c
@@ -31,7 +31,9 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+#ifndef __MINGW32__
#define off_t __int64
+#endif
#else
#include <time.h>
#endif
</syntax>
 
Then issue these commands to compile the library:
./configure --disable-shared
make
 
To install the library, type:
make install prefix=/mingw
 
 
=== freetype ===
 
Unzip the freetype archive in a folder, open MSYS, go to the freetype folder and issue these commands to compile the library:
 
./configure --disable-shared
make
2,051

edits

Navigation menu