Skip to content

Install Visual Studio

jeremyspencer39171 edited this page Mar 26, 2018 · 28 revisions

Install a version of visual studio. 2010 is used by most developers unless you are on windows 10 in which case install 2017.

Install Visual Studio 2010

Install Visual Studio 2010

Install SDK 7.1 -The SDK may fail if you have these installed:

  • Microsoft Visual C++ 2010 x86 Redistributable
  • Microsoft Visual C++ 2010 x64 Redistributable

If these do exist on your computer you need to uninstall them before installing the SDK.

Install:

Install Visual Studio 2013

Windows SDK 7 has compatibility issues with newer versions of Windows. In this case, Visual Studio 2013 may be used instead.

During the installation of VS2013, under "Optional Features" make sure to include Microsoft Foundation Classes for C++.

Additionally, download and install the Multibyte MFC Library.

Install Visual Studio 2017

Download installer (Visual Studio Community 2017 exe) from installer page https://my.visualstudio.com using your stfc email address. During install, choose Desktop development with C++ and from the right checkboxes: the most recent Windows 10 SDK, and MFC and ATL support

Installing a new Version of Visual Studio

If you are on a new version of visual studio (2019?) then you will need to upgrade various files to take this into account. Below is a list of things we needed to do when upgrading to 2017 your list may be different.

Setup the environment

The visual studio compiler environment variables are set up from ...\EPICS\base\master\startup\win32.bat this calls into the visual studio variable set up. Add your version to this.

Clone this wiki locally