- Setup Procedure for Windows 10
- Other Info
This page details how to set up a working C/C++ development environment for CM/CET using VC14. The0 Pse instructions were tested on a Windows 1C, verified to work.
- Compiler: Visual Studio 2015 (VC14.0, cl 19.00)
- SDK: Windows SDK 10.0.14393.0 – Included with Visual Studio 2015 Update 3 or as a separate download.
Setup Procedure for Windows 10
- Install Microsoft C++ Build Tools 2015 (VC14) + Windows SDK 10.0.14393
- Download Microsoft C++ Build Tools 2015 from http://go.microsoft.com/fwlink/?LinkId=691126&fixForIE=.exe
- Download Windows SDK 10.0.14393 from https://go.microsoft.com/fwlink/p/?LinkId=838916
- After installation is done, click on Setup > Settings in CET Operator, then set the VCVersion value to 14. The upcoming operator versions should already have this set by default.
- To verify your setup:
- Set up a workspace with "Core C++ Lib Sources" checked.
- Start a command prompt from CET Operator (CMD button)
- Go to home/dll/os by typing ”cd dll/os”
- Type ”make publish”, which should build both 32bit and 64bit version of that dll.
- If you don’t get any errors, you now have a working setup.
Alternative Method with Visual Studio
If you want to install Visual Studio instead, you will need Microsoft Visual Studio Community 2015 Update 3, which includes both the correct compiler and SDK.
- Download from https://visualstudio.microsoft.com/vs/older-downloads/
- Run setup and ensure at minimum the following is checked :
- Visual C++: Common Tools, Microsoft Foundation Classes, XP Support
- Universal Windows App Development Tools: Tools and Windows 10 SDK (10.0.14393) – If you don’t see this, ensure Update 3
- Perform the same step 2 and step 3 according to the section above.
- ”cl: command not found” – You’re missing the compiler. Reinstall visual studio/build tools and ensure the compiler is installed. Try verifying environment variables too.
- ”windows.h not found” or similar – You’re missing the SDK. Reinstall the SDK and verify the version. Try verifying environment variables too.
- ”include mps.h not found” or similar – Try ensuring that C++ Lib Sources is checked in Workspace.
- Visual Studio 2010 (VC10.0, cl 16.00) - Require Windows SDK v7.0a or v7.1
- If you need an older VC++ compiler for legacy development, just install this and set VCVersion accordingly.
- Unsupported/Untested versions: Visual Studio 2012 (VC11, cl 17.00), Visual Studio 2013 (VC12, cl 18.00), Visual Studio 2017 (VC15, cl 19.10) & later
- Windows SDK Archive - https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
- Visual C++ Build Tools - http://landinghub.visualstudio.com/visual-cpp-build-tools
- Visual Studio Community 2015 (Login required, in case you can't get 2015 from the link above) - https://my.visualstudio.com/Downloads?q=2015
- Windows SDK 10.0.14393 can also be obtained using the C++ Build Tools 2017 installer.