From e72cf4787c1ca911a7ee500368e44bbbb0fb93ed Mon Sep 17 00:00:00 2001 From: iceiix <43691553+iceiix@users.noreply.github.com> Date: Tue, 20 Nov 2018 07:06:31 -0800 Subject: [PATCH] Update to Visual Studio 2017 (#28) * Update readme for Windows with rustup and VS17 * Update AppVeyor to build with Visual Studio 2017 * Drop Visual Studio 2015 support in favor of 2017 --- README.md | 8 +++++--- appveyor.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e58f4e8..f508a1e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Feel free to pop in to say hi, [Webchat can be found here](https://irc.spi.gt/ir Windows users can download pre-compiled builds from here: https://ci.appveyor.com/project/iceiix/steven (Select your platform, Click the artifacts tab and download Steven.zip) -The Visual Studio 2015 Redistributable is required to run these builds. +The Visual Studio 2017 Redistributable is required to run these builds. ## Building @@ -78,11 +78,13 @@ brew install sdl2 ``` ### Installing dependencies on Windows -Build with Visual Studio 2015. May build with other compilers, but not tested +Install [Visual Studio 2017](https://visualstudio.microsoft.com/vs/older-downloads) +with the Visual C++ option. May build with other compilers, but not tested (previously was built with MinGW and the GNU toolchain). Download [SDL2-devel-2.0.4-VC.zip](https://www.libsdl.org/release/SDL2-devel-2.0.4-VC.zip), extract and -copy SDL2-2.0.4\lib\x64\SDL2.lib to C:\Rust\lib\rustlib\x86_64-pc-windows-msvc\lib\SDL2.lib. +copy SDL2-2.0.4\lib\x64\SDL2.lib to .multirust\toolchains\beta-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\SDL2.lib +and SDL2-2.0.4\lib\x64\SDL2.dll to target\release. ## Running diff --git a/appveyor.yml b/appveyor.yml index 8db3c17..d43e3fe 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ version: 1.0.{build} -image: Visual Studio 2015 +image: Visual Studio 2017 clone_depth: 1 platform: - x64