Open main menu

Difference between revisions of "Compiling ScummVM/MinGW"

no edit summary
m (modify bin/sdl2-config not bin/sdl-config)
Line 186: Line 186:


libogg should be compiled before libvorbis and libFLAC
libogg should be compiled before libvorbis and libFLAC
Unzip the libogg archive in a folder, open MSYS, go to the libogg folder and issue these commands to compile the library:
Unzip the libogg archive in a folder, open MSYS, go to the libogg folder and issue these commands to compile and install the library:


  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw




=== libvorbis ===
=== libvorbis ===


Unzip the libvorbis archive in a folder, open MSYS, go to the libvorbis folder and issue these commands to compile the library:
Unzip the libvorbis archive in a folder, open MSYS, go to the libvorbis folder and issue these commands to compile and install the library:


  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw




Line 211: Line 207:
  sed -i '/-fforce-mem/d' configure
  sed -i '/-fforce-mem/d' configure


Then issue these commands to compile the library:
Then issue these commands to compile and install the library:
  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw




Line 223: Line 217:
Unzip the libmpeg2 archive into a folder. Open MSYS, go to the libmpeg2 folder.
Unzip the libmpeg2 archive into a folder. Open MSYS, go to the libmpeg2 folder.


Then issue these commands to compile the library:
Then issue these commands to compile and install the library:
  ./configure --disable-sdl --disable-shared --prefix=/mingw
  ./configure --disable-sdl --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw


Note that if you are compiling x64 i.e. for a 64-bit target, then currently (v0.5.1), the following patch is needed:
Note that if you are compiling x64 i.e. for a 64-bit target, then currently (v0.5.1), the following patch is needed:
Line 255: Line 247:
=== FLAC ===
=== FLAC ===


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 and install the library:


  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw




Line 290: Line 280:
</syntaxhighlight>
</syntaxhighlight>


Then issue these commands to compile the library:
Then issue these commands to compile and install the library:
  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw


=== libpng ===
=== libpng ===


Unzip the libpng archive in a folder, open MSYS, go to the libpng folder and issue these commands to compile the library:
Unzip the libpng archive in a folder, open MSYS, go to the libpng folder and issue these commands to compile and install the library:


  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw




=== libtheora ===
=== libtheora ===


Unzip the libtheora archive in a folder, open MSYS, go to the libtheora folder and issue these commands to compile the library:
Unzip the libtheora archive in a folder, open MSYS, go to the libtheora folder and issue these commands to compile and install the library:


  ./configure --disable-shared --disable-examples --prefix=/mingw
  ./configure --disable-shared --disable-examples --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw




Line 338: Line 322:
</syntaxhighlight>
</syntaxhighlight>


Then issue these commands to compile the library:
Then issue these commands to compile and install the library:
  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw




=== freetype ===
=== freetype ===


Unzip the freetype archive in a folder, open MSYS, go to the freetype folder and issue these commands to compile the library:
Unzip the freetype archive in a folder, open MSYS, go to the freetype folder and issue these commands to compile and install the library:


  ./configure --disable-shared --prefix=/mingw
  ./configure --disable-shared --prefix=/mingw
  make
  make
 
  make install
To install the library, type:
  make install prefix=/mingw


== Compiling ScummVM ==
== Compiling ScummVM ==
271

edits