79662081

Date: 2025-06-11 13:36:58
Score: 1
Natty:
Report link

You can solve this problem by adding the directory of cl.exe to the System Variables on the "Edit the system environment variables" search result. Once again, it's the System Variables. Not the "User Variables". Go to path, be sure to add the directory of cl.exe and then relaunch your terminal. Test by typing cl.

The location of the cl.exe is found most of the time in the directory of "....\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64" depending on your version.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: FoxtBirdy