0

When I try to call vscall.bat or vcvarsall.bat in my x64 Native Tools Command Prompt for VS 2019, I get the error showed in the title. I tried following this tutorial: How to tell CMake where to find the compiler?

Does anyone know how to fix this?

  • The script is named as `vcvarsall.bat`. Please, post the exact error message when you use this script. – Tsyvarev Jul 07 '21 at 13:39
  • This is the exact error message: 'vcvarsall.bat' is not recognized as an internal or external command, operable program or batch file. –  Jul 07 '21 at 13:43

1 Answers1

0

When I try to call vscall.bat or vcvarsall.bat in my x64 Native Tools Command Prompt for VS 2019

Since you are already in the x64 Native Tools Command Prompt for VS 2019 you do not need to call vcvarsall.bat. It was already done when you opened that command prompt.

Alex Reinking
  • 16,724
  • 5
  • 52
  • 86