Closed Number-One-Intern closed 1 month ago
Hi, sorry for the late reply, but it's vacation season here :-)
In the batch file, you need to change the line
set VCVARSALL_PATH="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
to match the location of the vcvars64.bat of the 2022 installation.
Usually, the VC installer creates a app/program shortcut called "Visual Studio Command Prompt" -> open the referenced batch file and this should be the path you need to add.
I'll try to install VC2022 on my machine as well and will add a compiler-specific batch file to the repo (sometime later today).
Hey, thanks for the response. I hope you are enjoying your vacation. I changed the file as you said, setting the Path to "C:\Program Files\Microsoft Visual\Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
But unfortunately, it seems the errors are still occurring. It is calling the msvc developer prompt now though.
I've added batch files for VC2019 and VC2022 (the latter being now the default).
Hi, I'm currently just trying to generate P_Control. However, I keep getting an error message exactly like the one described in #53. But I am unsure what to edit in the build_VC_x64.bat. So, I tried to fix it by downloading Visual Studio 2022 and adding nmake to the path but instead I get this error. What steps should I take to fix this?