Page 1 of 1

ESP-AT: CMake error: Does not match the generator used previously: Ninja

Posted: Sun Dec 24, 2023 7:08 am
by vapisoft
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"

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. 
I don't know how to continue.

Re: ESP-AT: CMake error: Does not match the generator used previously: Ninja

Posted: Mon Jan 15, 2024 12:24 pm
by esp-at
could you please provide more details. have you followed the guide: https://docs.espressif.com/projects/esp ... le_it.html

If this can not fix your issue, please provide all the logs and steps you did.