1,502
edits
(Added FLAC to the downloadable libraries (v1.1.1 recommended), added some instructions about libmad) |
(Several changes, also added "make install") |
||
Line 81: | Line 81: | ||
=== NASM === | === NASM === | ||
First of all, we need nasm. So unzip the nasm archive in a directory, copy "nasmw.exe" to "nasm.exe" (because some projects call one and others call the other) and include the folder | First of all, we need nasm. So unzip the nasm archive in a directory, copy "nasmw.exe" to "nasm.exe" (because some projects call one and others call the other) and copy both files in MinGW's bin directory. Alternatively, you can include the folder you unzipped the files in your system path. To do this, go to Control Panel->System, Advanced tab->environment variables and edit the "PATH" variable in the system variables list, adding the folder where you placed the aforementioned files. Directories in the system path are split with a semicolon (;), e.g. "C:\MinGW\msys\1.0\bin;C:\MinGW\bin;C:\nasm". | ||
Note that changes to the PATH will be reflected on newly opened command prompts only, so if you got any open already, close them to avoid confusion | |||
Line 94: | Line 94: | ||
Now, we need to setup SDL. Go to SDL's folder and type | Now, we need to setup SDL. Go to SDL's folder and type: | ||
make install prefix=/mingw | |||
Note the forward slash, since you are using MSYS. | |||
Line 120: | Line 123: | ||
make | make | ||
To install the library, type: | |||
make install prefix=/mingw | |||
Alternatively, when everything is compiled, copy the include\ogg folder inside MinGW's include folder. So, you should end up with an ogg folder in MinGW's include folder. Also, copy the src\.libs folder as-is inside MinGW's lib folder, and also copy the files from the src\.libs folder inside MinGW's lib folder (because ogg libraries are searched both in the lib and in the lib\.libs folder) | |||
Line 137: | Line 143: | ||
make | make | ||
To install the library, type: | |||
make install prefix=/mingw | |||
Alternatively, 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) | |||
Line 154: | Line 163: | ||
make | make | ||
To install the library, type: | |||
make install prefix=/mingw | |||
Alternatively, 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) | |||
Line 173: | Line 185: | ||
make | make | ||
To install the library, type: | |||
make install prefix=/mingw | |||
Alternatively, when everything is compiled, copy (...) inside MinGW's include folder. | |||
[TODO] | [TODO] | ||
Line 185: | Line 201: | ||
./configure --disable-shared | ./configure --disable-shared | ||
make | make | ||
To install the library, type: | |||
make install prefix=/mingw | |||
[TODO] | [TODO] |
edits