Difference between revisions of "Compiling ScummVM/MinGW"

Jump to navigation Jump to search
Added instructions for libmpeg2
m (→‎libvorbis: typo)
(Added instructions for libmpeg2)
Line 142: Line 142:
  cp -p src/.libs/* /mingw/lib
  cp -p src/.libs/* /mingw/lib


=== mpeg2dec ===


[TODO]
=== libmpeg2 ===


After you compile this one, go to its include directory, create a folder "mpeg2dec" in there and copy all files from the include folder in this subfolder. So you should end up with 2 directories, "include" and "include\mpeg2dec" with the same files. This is needed, as ScummVM includes files from the "mpeg2dec" directory  
Unzip the mpeg2dec archive in a folder, open MSYS, go to the mpeg2dec folder and issue these commands to compile the library:
 
./configure --disable-shared
make
 
After you compile mpeg2dec, go to its include directory, create a folder "mpeg2dec" in there and copy all files from the include folder in this subfolder. So you should end up with 2 directories, "include" and "include\mpeg2dec" with the same files. This is needed, as ScummVM includes files from the "mpeg2dec" directory. Copy this mpeg2dec folder inside MinGW's include folder. Then, copy lib\.libs folder from libmpeg2 folder as-is inside MinGW's lib folder, and also copy the files from the lib\.libs folder from libmpeg2 folder inside MinGW's lib folder (because libmpeg2 libraries are searched both in the lib and in the lib\.libs folder)
 
 
You can do this using Explorer or by typing these commands in MSYS inside the mpeg2dec folder:
 
mkdir include/mpeg2dec
cp -p include/* include/mpeg2dec
cp -p include/mpeg2dec /mingw/include
cp -p libmpeg2/.libs /mingw/lib
cp -p libmpeg2/.libs/* /mingw/lib




1,489

edits

Navigation menu