TRACKER : error TRK0005: Failed to locate: "CL.exe"

Make sure that "Platform Toolset", under project Properties > General settings, is set to the correct Visual Studio version you are using.

In my case, had downloaded a project from GitHub that was set to Visual Studio 2015 and I'm using VS 2017. After changing it worked.

You may want to confirm other settings under properties as well, as "Windows SDK Version", and make sure it's installed. You can check your Visual Studio installation under "Apps & Features" and modify.


CL.exe is the command line build of VS. Couple of things I would look at:

  1. When you install VS is the CL install optional, if so is it on?
  2. Environment variables. See https://msdn.microsoft.com/en-us/library/kezkeayy.aspx