Environment: Visual Studio 2019 with VisualGDB 6.0R6 (Build 5262).
I’m trying to import an existing CMake project (similar to this guide https://visualgdb.com/tutorials/arm/cmake/import/), and I’m running into this error.
CMake Error: CMake server mode has been removed in favor of the file-api.
No reply via CMake server API. Restarting CMake in file mode...
System.Exception: CMake server exited with code 1
at xp2.b(Object b, EventArgs a)
The project is configured to use CMake located within C:\Users\<username>\AppData\Local\VisualGDB\CMake. Running
C:\Users\<username>\AppData\Local\VisualGDB\CMake\bin\cmake.exe --version
outputs “cmake version 3.20.3-dirty”
CMake did generate the Ninja build files and manually invoking Ninja successfully built the firmware. With my (very limited) knowledge of how CMake and IDEs integrate, this looks like a potential issue with VisualGDB?