VS-code+ESP-IDF配置换环境后创建hello_world时报错 Failed to set target esp32h2: non zero exit code 2 Directory
Failed to set target esp32h2: non zero exit code 2 Directory
·
Failed to set target esp32h2: non zero exit code 2 Directory
报这个错误删除 build文件 进行重新编译。
示例路径 报错中有提示 D:\ESP32_H2_P\hello_world\build
Failed to set target esp32h2: non zero exit code 2 Directory ‘D:\ESP32_H2_P\hello_world\build’ doesn’t seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to ‘clean’ it. Adding “set-target”'s dependency “fullclean” to list of commands with default set of options. Executing action: fullclean .
更多推荐




所有评论(0)