Closed tkdeprooo closed 2 years ago
@tkdeprooo! These seems to be a CMake issue. Maybe try updating you cmake version?
Hi @jonyMarino ! Thank you for your reply! I managed to solve the issue by running the "Developer Command Prompt for VS 2022" using administrator and it works fine now! (Not sure if that's an amateur mistake!) Thank you for your time anyways!
Question
What's your question?
How can I run build.cmd on VS 2022? There is this error that pops up :
build.cmd found Powershell Found cmake version: 3.14.7 Starting cmake to build rpclib... CMake Error: Could not create named generator Visual Studio 17 2022
Generators
Error: could not load cache Error: could not load cache
Build failed - see messages above.
Include context on what you are trying to achieve
I'm trying to initialise AirSim by following the instructions here "https://microsoft.github.io/AirSim/build_windows/" but I am stuck on the step that requires me to run build.cmd
Context details
Windows 11, UE 4.27.2, VS 2022
Include details of what you already did to find answers
I've already tried to search the issues and I found a similar one which used another user's link but it doesn't seem to work.. I also tried to use VS 2019 but it couldn't work and the cmd prompt was to use VS2022