Getting an error when attempting to build a GUI windows client using Visual Studio 2015: *** Error: RC.EXE not found in the PATH. ***
Contents of the <loadmodule>.OUT file are below.
===
CA Gen Build Tool Compose
Copyright (c) 2016 CA. All rights reserved.
Compose Succeeded
Microsoft Windows [Version 10.0.19042.1466]
(c) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\CA\Gen86\Gen>"C:\Program Files (x86)\CA\SharedComponents\JRE\1.8.0_60\\bin\java.exe " -classpath "C:\Program Files (x86)\CA\Gen86\gen\bt\bt.jar" com.ca.gen.bt.Execute "C:\Users\user1\Documents\CA\Gen 8.6\Models\Test.ief\c\WACLT011.bat"
Initial search for build executables
NMAKE.EXE, HHC.EXE, CL.EXE, LINK.EXE, RC.EXE
--- Found NMAKE.EXE
--- Found HHC.EXE
--- Found CL.EXE
--- Found LINK.EXE
*** Error: RC.EXE not found in the PATH. ***
===
Release : 8.6
Component : Gen Build Tool
There are 2 possible resolutions, the first being the most prevalent.
1. Visual Studio 2015, 2017 and 2019 (VS2015, VS2017 and VS2019) need the Windows SDK to be installed in order to have the Resource Compiler rc.exe installed and available.
The SDK can be found here: Windows SDK
Windows SDK
The Windows SDK (10.0.22000) provides the latest headers, libraries, metadata, and tools for building Windows applications. Use this SDK to build Universal Windows Platform (UWP) and Win32 applications for Windows 11 and previous Windows releases.
2. At a few sites, it was found that installing the Windows SDK did not completely resolve the problem. Gen has BAT files to set up the environment PATH, LIB and INCLUDE for compiling with the help of a Visual Studio BAT file. The Visual Studio BAT file executes the Windows 'reg' command to query the registry for Visual Studio folder locations. If this command is disabled by the site's network security team, the environment will not be set up properly and the 'RC.EXE not found' will continue.
Execute the following commands from a Command Prompt to locate the RC.EXE and to determine if reg.exe will function.
dir /s rc.exe
reg query /?
ERROR: Registry editing has been disabled by your administrator.