Open main menu

Difference between revisions of "Compiling ScummVM/Visual Studio"

Line 28: Line 28:




Now, we need to compile the required libraries. Note that if you're building the libraries with VS2005, you will get a lot of deprecation warnings. These are normal and nothing to worry about, they're just Microsoft's way of saying "This is a bad code practice. Use this instead". It's not easy to turn these off without several modifications to the code, so just ignore them.  
== Building the libraries ==
 
Now, we need to compile the required libraries.
 
Note that you'll need to build all libraries with the same configuration settings (debug or release). If you don't need a specific library, you can remove it from your build by going to Project->Properties, Configuration Properties->C/C++->Preprocessor and remove the "USE_XXX" directive for that library from there. For example, to remove OGG support, remove the USE_VORBIS directive
 
 
== A note about VS2005 ==
 
If you're building the libraries with VS2005, you will get a lot of deprecation warnings. These are normal and nothing to worry about, they're just Microsoft's way of saying "This is a bad code practice. Use this instead". It's not easy to turn these off without several modifications to the code, so just ignore them.  


Read more here:  
Read more here:  
Line 43: Line 52:
   #pragma warning(disable : 4996) /* Disable all deprecation warnings */  
   #pragma warning(disable : 4996) /* Disable all deprecation warnings */  
   #endif /* VC8+ (VS2005) */
   #endif /* VC8+ (VS2005) */
Note that you'll need to build all libraries with the same configuration settings (debug or release). If you don't need a specific library, you can remove it from your build by going to Project->Properties, Configuration Properties->C/C++->Preprocessor and remove the "USE_XXX" directive for that library from there. For example, to remove OGG support, remove the USE_VORBIS directive




1,502

edits