Difference between revisions of "Compiling ScummVM/Visual Studio"

Jump to navigation Jump to search
Added instructions for vorbisenc and libpng
(Updated the zlib compilation instructions again)
(Added instructions for vorbisenc and libpng)
Line 55: Line 55:
Latest stable version at the time of writing this: [http://www.zlib.net/zlib123.zip 1.2.3]
Latest stable version at the time of writing this: [http://www.zlib.net/zlib123.zip 1.2.3]


* [ftp://ftp.simplesystems.org/pub/libpng/png/src/ libpng] (for ScummVM tools)
You need the latest libpng source code.
Latest stable version at the time of writing this: [ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.2.36.tar.gz 1.2.36]




Line 106: Line 109:
=== libvorbis ===
=== libvorbis ===


Before compiling this, include the libogg include and library paths in VS. To do this, go to Tools->Options->Projects and solutions->VC++ directories and include the include directory of libogg as well as the directory with the compiled ogg library  
Before compiling this, include the libogg include and library paths in VS. To do this, go to Tools->Options->Projects and solutions->VC++ directories and include the include directory of libogg as well as the directory with the compiled ogg library. You'll need vorbis, vorbisfile and also vorbisenc for ScummVM tools.




Line 124: Line 127:


Open its solution and compile the libFLAC_static project.  
Open its solution and compile the libFLAC_static project.  
=== libpng ===
Open the solution under projects\visualc71. You also need zlib to compile this library, which must be placed in a folder named "zlib" outside libpng's directory. You need to change the settings of zlib like you have done before (i.e. from "Multi-Threaded DLL (/MD)" to "Multi-Threaded (/MT)"). Check the zlib section for more information.




Line 139: Line 147:
   '''libmad.lib''' - static build of libMAD (from folder msvc++\Release where you unzipped libmad)
   '''libmad.lib''' - static build of libMAD (from folder msvc++\Release where you unzipped libmad)
   '''libmpeg2.lib''' - static build of libMPEG2 (from folder vc++\Release where you unzipped mpeg2dec)
   '''libmpeg2.lib''' - static build of libMPEG2 (from folder vc++\Release where you unzipped mpeg2dec)
  '''libpng.lib''' - static build of libpng (from folder projects\visualc71\Win32_LIB_Release where you unzipped libpng)
   '''ogg_static.lib''' - static build of libOGG (from folder win32\Static_Release where you unzipped libogg)
   '''ogg_static.lib''' - static build of libOGG (from folder win32\Static_Release where you unzipped libogg)
   '''sdl.lib''' - static build of SDL (from folder lib where you unzipped SDL)
   '''sdl.lib''' - static build of SDL (from folder lib where you unzipped SDL)
   '''vorbisfile_static.lib''' - static build of vorbisfile (from folder win32\VorbisFile_Static_Release where you unzipped libvorbis)
   '''vorbisfile_static.lib''' - static build of vorbisfile (from folder win32\VorbisFile_Static_Release where you unzipped libvorbis)
   '''vorbis_static.lib''' - static build of libvorbis (from folder win32\Vorbis_Static_Release where you unzipped libvorbis)
   '''vorbis_static.lib''' - static build of libvorbis (from folder win32\Vorbis_Static_Release where you unzipped libvorbis)
  '''vorbisenc_static.lib''' - static build of libvorbis (from folder win32\Vorbisenc_Static_Release where you unzipped libvorbis)
   '''zlib.lib''' - static build of zlib (from folder projects\visualc6\Win32_LIB_Release where you unzipped zlib)
   '''zlib.lib''' - static build of zlib (from folder projects\visualc6\Win32_LIB_Release where you unzipped zlib)


1,489

edits

Navigation menu