espressif / esp-now

A connectionless Wi-Fi communication protocol
Apache License 2.0
486 stars 91 forks source link

IDF_TARGET in CMake cache does not match IDF_TARGET environment variable. (AEGHB-149) #70

Closed lhf-tech closed 1 year ago

lhf-tech commented 1 year ago

CMake Error at C:/Users/123/esp/esp-idf/tools/cmake/targets.cmake:19 (message): IDF_TARGET in CMake cache does not match IDF_TARGET environment variable. To change the target, clear the build directory and sdkconfig file, and build the project again Call Stack (most recent call first): C:/Users/Hephi-Lu/esp/esp-idf/tools/cmake/project.cmake:7 (__target_init) CMakeLists.txt:11 (include)

-- Configuring incomplete, errors occurred!

lhespress commented 1 year ago

@lhf-tech Please run "idf.py fullclean" or "rm -rf build/ sdkconfig"

lhespress commented 1 year ago

@lhf-tech Closing this issue since there has been no update on this. Please feel free to reopen if required.