Open main menu

Difference between revisions of "Compiling ScummVM/Visual Studio/Compiling Libraries"

→‎libmpeg2: Update instructions on libmpeg2
(→‎libmpeg2: Remove all the code changes - they aren't needed)
(→‎libmpeg2: Update instructions on libmpeg2)
Line 268: Line 268:
** Configuration Properties->C/C++->Code Generation, "Runtime Library" should be "Multi-threaded (/MT)"
** Configuration Properties->C/C++->Code Generation, "Runtime Library" should be "Multi-threaded (/MT)"


After you compile the library, go to its include directory, create a folder "mpeg2dec" in there and copy all files from the include folder in this subfolder. You will end up with 2 directories, "include" and "include\mpeg2dec" with the same files. This is needed, as ScummVM includes files from the "mpeg2dec" directory
ScummVM will look into the mpeg2dec directory for mpeg2.h, so copy that include into a subfolder with that name in the directory where the rest of the ScummVM library include files are.
1,489

edits