user14264745
user14264745

Reputation:

Error: vscall.bat is not recognized as an internal or external command, operable program or batch file

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?

Upvotes: 0

Views: 303

Answers (1)

Alex Reinking
Alex Reinking

Reputation: 19916

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.

Upvotes: 0

Related Questions