Difference between revisions of "Compiling ScummVM/Visual Studio"

Jump to navigation Jump to search
Simplify instructions
(Simplify instructions)
(Simplify instructions)
(One intermediate revision by the same user not shown)
Line 4: Line 4:


=== Visual Studio ===
=== Visual Studio ===
There exists a free Community version of Visual Studio [https://visualstudio.microsoft.com/vs/ here] that can be used.
You can get the free Community version of Visual Studio [https://visualstudio.microsoft.com/vs/ here].
Professional Visual Studio versions are working fine too.
Professional Visual Studio versions are working fine too.


When installing Visual Studio 2017 or later, make sure to select the "Desktop Development with C++" workload.
When installing Visual Studio 2017 or later, make sure to select the "Desktop Development with C++" workload.


The instructions below focused on building ScummVM with the latest Visual Studio. Building ScummVM with versions older than 2008 will require additional work which is not described here.
Building ScummVM with Visual Studio versions older than 2008 will require additional work which is not described here.


=== Needed Libraries ===
=== Needed Libraries ===
ScummVM relies on third-party libraries to implement certain functionality. Some of these libraries are required, like for example SDL, others are optional, like for example libtheora.
ScummVM relies on third-party libraries for common features, such as MP3 decoding. Some of these libraries, like SDL, are required, whereas others like libtheora are optional.


We supply a set of prebuilt libraries for Visual Studio 2015 and later, which have been built on Windows 8.1 using the Visual Studio 2015 Community Edition. The libraries can be found [http://downloads.scummvm.org/frs/build/scummvm_libs_2015.zip here].
We supply a set of prebuilt libraries for Visual Studio 2015 and later, which can be found [http://downloads.scummvm.org/frs/build/scummvm_libs_2015.zip here].
 
These libraries have been built on Windows 8.1 using the Visual Studio 2015 Community Edition.
 
If you want to build libraries for use with Visual Studio yourself, please refer to the [[Compiling_ScummVM/Visual_Studio/Compiling_Libraries|instructions for compiling the libraries yourself]].


=== Installing Libraries ===
=== Installing Libraries ===
Line 20: Line 24:
* Unzip the library zip to a directory of your choice, for example "C:\Users\YourUsername\Documents\scummvm_libs_2015".
* Unzip the library zip to a directory of your choice, for example "C:\Users\YourUsername\Documents\scummvm_libs_2015".
* Go to Start Menu > Control Panel > System > Advanced Settings > Environment Variables and add a new variable "SCUMMVM_LIBS" with a value of the path you extracted the zip in. It is important that you do point the variable to the folder containing the "bin", "include", and "lib" directories.
* Go to Start Menu > Control Panel > System > Advanced Settings > Environment Variables and add a new variable "SCUMMVM_LIBS" with a value of the path you extracted the zip in. It is important that you do point the variable to the folder containing the "bin", "include", and "lib" directories.
=== Manually Building Libraries ===
If you want to build libraries for use with Visual Studio yourself, please refer to the [[Compiling_ScummVM/Visual_Studio/Compiling_Libraries|instructions for compiling the libraries yourself]].


== Preparing the Project Files ==
== Preparing the Project Files ==
1,489

edits

Navigation menu