3
edits
(→Compiling ScummVM with Visual Studio 2008/2010 under Windows: Add note on removal of MSVC8 support.) |
(Remove some more references to MSVC2005) |
||
Line 27: | Line 27: | ||
* Download the [http://libjpeg-turbo.virtualgl.org/ libjpeg-turbo library] and copy the library files to your Visual Studio VC/lib folder, | * 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 | * Unzip the precompiled libraries archive maintaining directory structure | ||
* Run install.bat (Visual Studio | * Run install.bat (Visual Studio 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# | * 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_2008|Adding all libraries to Visual Studio 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: | * 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: | ||
** msvc9 for Visual Studio 2008 | ** msvc9 for Visual Studio 2008 | ||
** msvc10 for Visual Studio 2010 | ** msvc10 for Visual Studio 2010 | ||
Line 53: | Line 52: | ||
== Adding all libraries to Visual Studio | == Adding all libraries to Visual Studio 2008 == | ||
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. | 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. | ||
Line 120: | Line 119: | ||
If you got all the libraries compiled, you're ready to compile the latest version of ScummVM! | 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 | Open the solution file in dists\msvcXX (msvc10 for VS2010 or msvc9 for VS2008), 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". | 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 | You'll need to copy sdl.dll from the SDL runtime archive (or the latest devel archive) in the directory where scummvm.exe is |
edits