1,502
edits
m (Wording) |
(Removed section "Before compiling", reordered the other sections) |
||
Line 21: | Line 21: | ||
* Run install.bat (Visual Studio 2005 only) | * Run install.bat (Visual Studio 2005 only) | ||
* 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. 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/VS2005#Adding_all_libraries_to_Visual_Studio|Adding all libraries to Visual Studio]]" further on | * 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. 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/VS2005#Adding_all_libraries_to_Visual_Studio|Adding all libraries to Visual Studio]]" further on | ||
* Skip to step "[[Compiling_ScummVM/VS2005# | * Skip to step "[[Compiling_ScummVM/VS2005#Ready to compile ScummVM|Ready to compile ScummVM]]" | ||
Line 165: | Line 165: | ||
== | == Ready to compile ScummVM == | ||
If you got all the libraries compiled, you're ready to compile the latest version of ScummVM! | |||
Before compiling, open the file sound\softsynth\ym2612.cpp in the scummvm directory with VS and save it as unicode. To do this, go to File->Save as and in the save button, click the small arrow next to it and select "Save with encoding" and select "UTF8" from the list. The reason for this step is that this file contains Japanese characters, so VS refuses to compile the project if it's not saved as unicode | Note that on some systems, especially the ones where the language is not set to English, VS2005 might stop the compilation at ym2612.cpp, as it contains some non-english characters. Before compiling, open the file sound\softsynth\ym2612.cpp in the scummvm directory with VS and save it as unicode. To do this, go to File->Save as and in the save button, click the small arrow next to it and select "Save with encoding" and select "UTF8" from the list. The reason for this step is that this file contains Japanese characters, so VS refuses to compile the project if it's not saved as unicode. | ||
Open the solution file in dists\vc8 (or vc7 if you're using VS2003), 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\msvc8\scummvm_Release as "scummvm.exe". | |||
If you haven't compiled zlib statically into ScummVM and have included zlib support, you'll need to copy "zlib1.dll" in the same directory as scummvm.exe as well. You won't be needing sdl.dll, as the SDL library has been statically built into the executable. | |||
edits