* Download the [http://libjpeg-turbo.virtualgl.org/ libjpeg-turbo library] and copy the library files to your Visual Studio VC/lib folder,
* Unzip the precompiled libraries archive maintaining directory structure
* Run install.bat (Visual Studio
2005/2008 only) or [[Compiling_ScummVM/Visual_Studio#Adding_all_libraries_to_Visual_Studio_2010|add the libraries by hand]] (Visual Studio 2010)* You don't need to add the libraries to Visual Studio, as the installer automatically copies the necessary files in the appropriate directories of Visual Studio. Please note that this installer has only been tested with Visual Studio 2005 and 2008. If you get errors with earlier versions of Visual Studio, simply copy the directories ''bin'', ''lib'' and ''include'' inside the directory where Visual C++ is installed. If you're not sure how to do that, check the section "[[Compiling_ScummVM/Visual_Studio# Adding_all_libraries_to_Visual_Studio_2005%2F2008|Adding all libraries to Visual Studio 2005/2008]]" further on
* Unzip sdl.dll from the SDL runtime in the same directory where the scummvm executable will be created (under dists\<msvc_dir>\scummvm_Release) where <msvc_dir> is:
** msvc8 for Visual Studio 2005
** msvc9 for Visual Studio 2008
** msvc10 for Visual Studio 2010
== Adding all libraries to Visual Studio
There are two ways of adding the libraries to Visual Studio. You can either copy all the header and library files inside the appropriate directories of Visual C++ or tell Visual C++ where to look for them.
If you got all the libraries compiled, you're ready to compile the latest version of ScummVM!
Open the solution file in dists\msvcXX (msvc10 for VS2010
, msvc9 for VS2008 or msvc8 for VS2005), select the "Release" configuration from the configuration manager pulldown menu and then go to Build->Build solution, or just press Control-F7 to compile it.
The ScummVM executable should be in the folder dists\msvc9\scummvm_Release as "scummvm.exe".
You'll need to copy sdl.dll from the SDL runtime archive (or the latest devel archive) in the directory where scummvm.exe is