ESP-AT: CMake error: Does not match the generator used previously: Ninja
Posted: Sun Dec 24, 2023 7:08 am
I downloaded the ESP-AT project from Github and compiled it in Visual Studio Code.
I had several errors in the CMakeFiles.txt which I resolved with help of ChatGPT (I fixed the "string" commands).
But,
After all issues were resolved, it generated the following in the OUPUT tab:
AT-Commands/esp-at -Bc:/esp-idf/esp-idf/examples/AT-Commands/esp-at/build -G "MinGW Makefiles"
I don't know how to continue.
I had several errors in the CMakeFiles.txt which I resolved with help of ChatGPT (I fixed the "string" commands).
But,
After all issues were resolved, it generated the following in the OUPUT tab:
AT-Commands/esp-at -Bc:/esp-idf/esp-idf/examples/AT-Commands/esp-at/build -G "MinGW Makefiles"
Code: Select all
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error: Error: generator : MinGW Makefiles
[cmake] Does not match the generator used previously: Ninja
[cmake] Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.