Difference between revisions of "Compiling ScummVM/MinGW"

Jump to navigation Jump to search
Added libvorbis, done some minor fixes to other sections
m (→‎MinGW and MSYS: - Added a TODO, section not finished yet)
(Added libvorbis, done some minor fixes to other sections)
Line 55: Line 55:
Get the latest mpeg2dec release from this page, libmpeg2 is included there  
Get the latest mpeg2dec release from this page, libmpeg2 is included there  


* [http://www.zlib.net/ zlib]. You need the latest zlib compiled DLL
* [http://www.zlib.net/ zlib]. You need the latest zlib source code.   
 
If you wish to compile zlib statically in ScummVM (so that zlib1.dll is not needed), you'll also need the zlib source code.   




Line 92: Line 90:


libogg should be compiled before libvorbis and libFLAC
libogg should be compiled before libvorbis and libFLAC
To compile it, open MSYS, go to the libFLAC folder and issue these commands:
To compile it, open MSYS, go to the libogg folder and issue these commands:


  ./configure --disable-shared
  ./configure --disable-shared
Line 102: Line 100:
=== libvorbis ===
=== libvorbis ===


[TODO]
To compile libvorbis , open MSYS, go to the libvorbis folder and issue these commands:
 
./configure --disable-shared
make
 
When everything is compiled, copy the include\vorbis folder inside MinGW's include folder. So, you should end up with a vorbis folder in MinGW's include folder. Also, copy lib\.libs folder from libvorbis folder as-is inside MinGW's lib folder, and also copy the files from the lib\.libs folder from libvorbis folder inside MinGW's lib folder (because vorbis libraries are searched both in the lib and in the lib\.libs folder)




1,489

edits

Navigation menu