BUILDING.md: Update Visual C++ recommendations

This commit is contained in:
DRC
2020-01-16 20:52:15 -06:00
parent 167b5a8059
commit ada6ea5105

View File

@@ -57,22 +57,22 @@ Build Requirements
- Microsoft Visual C++ 2005 or later - Microsoft Visual C++ 2005 or later
If you don't already have Visual C++, then the easiest way to get it is by If you don't already have Visual C++, then the easiest way to get it is by
installing the installing
[Windows SDK](http://msdn.microsoft.com/en-us/windows/bb980924.aspx). [Visual Studio Community Edition](https://visualstudio.microsoft.com),
The Windows SDK includes both 32-bit and 64-bit Visual C++ compilers and which includes everything necessary to build libjpeg-turbo.
everything necessary to build libjpeg-turbo.
* You can also use Microsoft Visual Studio Express/Community Edition, which * You can also download and install the standalone Windows SDK (for Windows 7
is a free download. (NOTE: versions prior to 2012 can only be used to or later), which includes command-line versions of the 32-bit and 64-bit
build 32-bit code.) Visual C++ compilers.
* If you intend to build libjpeg-turbo from the command line, then add the * If you intend to build libjpeg-turbo from the command line, then add the
appropriate compiler and SDK directories to the `INCLUDE`, `LIB`, and appropriate compiler and SDK directories to the `INCLUDE`, `LIB`, and
`PATH` environment variables. This is generally accomplished by `PATH` environment variables. This is generally accomplished by
executing `vcvars32.bat` or `vcvars64.bat` and `SetEnv.cmd`. executing `vcvars32.bat` or `vcvars64.bat`, which are located in the same
`vcvars32.bat` and `vcvars64.bat` are part of Visual C++ and are located in directory as the compiler.
the same directory as the compiler. `SetEnv.cmd` is part of the Windows * If built with Visual C++ 2015 or later, the libjpeg-turbo static libraries
SDK. You can pass optional arguments to `SetEnv.cmd` to specify a 32-bit cannot be used with earlier versions of Visual C++, and vice versa.
or 64-bit build environment. * The libjpeg API DLL (**jpeg{version}.dll**) will depend on the C run-time
DLLs corresponding to the version of Visual C++ that was used to build it.
... OR ... ... OR ...