Note: You are using Python 3.7.3. Python 3 support is new, please report any problems you encounter. Search for 'Setting the Python Interpreter' in the ESP-IDF docs if you want to use Python 2.7. Checking Python dependencies... Python requirements from C:\Users\kushwaha_d\Desktop\esp-idf-2\requirements.txt are satisfied. Running cmake in directory C:\Users\kushwaha_d\Desktop\esp-idf-2\examples\get-started\blink\build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized C:\Users\kushwaha_d\Desktop\esp-idf-2\examples\get-started\blink"... Warn about uninitialized values. -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1") -- IDF_TARGET not set, using default target: esp32 -- Building for target esp32 -- ccache will be used for faster builds -- The C compiler identification is GNU 5.2.0 -- The CXX compiler identification is GNU 5.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building empty aws_iot component due to configuration -- Component names: soc log heap xtensa-debug-module app_trace freertos vfs newlib esp_ringbuf driver esp_event ethernet mbedtls micro-ecc efuse bootloader_support partition_table app_update spi_flash nvs_flash lwip tcpip_adapter pthread smartconfig_ack wpa_supplicant espcoredump esp32 cxx asio jsmn aws_iot bootloader nimble bt coap console nghttp esp-tls esp_adc_cal tcp_transport esp_http_client esp_http_server esp_https_ota openssl esp_https_server esptool_py expat wear_levelling sdmmc fatfs freemodbus idf_test json libsodium mdns mqtt protobuf-c protocomm spiffs ulp unity wifi_provisioning main -- Component paths: C:/Users/kushwaha_d/Desktop/esp-idf-2/components/soc;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/log;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/heap;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/xtensa-debug-module;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/app_trace;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/freertos;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/vfs;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/newlib;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp_ringbuf;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/driver;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp_event;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/ethernet;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/mbedtls;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/micro-ecc;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/efuse;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bootloader_support;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/partition_table;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/app_update;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/spi_flash;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/nvs_flash;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/lwip;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/tcpip_adapter;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/pthread;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/smartconfig_ack;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/wpa_supplicant;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/espcoredump;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/cxx;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/asio;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/jsmn;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/aws_iot;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bootloader;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/nimble;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bt;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/coap;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/console;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/nghttp;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp-tls;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp_adc_cal;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/tcp_transport;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp_http_client;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp_http_server;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp_https_ota;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/openssl;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp_https_server;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esptool_py;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/expat;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/wear_levelling;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/sdmmc;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/fatfs;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/freemodbus;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/idf_test;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/json;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/libsodium;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/mdns;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/mqtt;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/protobuf-c;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/protocomm;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/spiffs;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/ulp;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/unity;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/wifi_provisioning;C:/Users/kushwaha_d/Desktop/esp-idf-2/examples/get-started/blink/main Loading defaults file C:/Users/kushwaha_d/Desktop/esp-idf-2/examples/get-started/blink/sdkconfig.defaults... -- IDF_VER: v3.3.1 -- Project version: v3.3.1 -- Found PythonInterp: C:/Users/kushwaha_d/.espressif/python_env/idf3.3_py3.7_env/Scripts/python.exe (found version "3.7.3") -- Could NOT find Perl (missing: PERL_EXECUTABLE) -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/examples/get-started/blink/build/esp-idf/esp32/esp32_out.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32/ld/esp32.rom.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32/ld/esp32.peripherals.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld -- Building empty aws_iot component due to configuration -- Component libraries: -- Configuring done -- Generating done -- Build files have been written to: C:/Users/kushwaha_d/Desktop/esp-idf-2/examples/get-started/blink/build Running ninja in directory C:\Users\kushwaha_d\Desktop\esp-idf-2\examples\get-started\blink\build Executing "ninja all"... [281/821] Performing configure step for 'bootloader' -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1") -- IDF_TARGET not set, using default target: esp32 -- Building for target esp32 -- ccache will be used for faster builds -- The C compiler identification is GNU 5.2.0 -- The CXX compiler identification is GNU 5.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/Users/kushwaha_d/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Component names: soc esp32 log bootloader spi_flash micro-ecc efuse bootloader_support main esptool_py partition_table -- Component paths: C:/Users/kushwaha_d/Desktop/esp-idf-2/components/soc;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/log;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bootloader;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/spi_flash;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/micro-ecc;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/efuse;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bootloader_support;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bootloader/subproject/main;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esptool_py;C:/Users/kushwaha_d/Desktop/esp-idf-2/components/partition_table -- IDF_VER: v3.3.1 -- Component libraries: -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bootloader/subproject/main/esp32.bootloader.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/bootloader/subproject/main/esp32.bootloader.rom.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32/ld/esp32.rom.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld -- Adding linker script C:/Users/kushwaha_d/Desktop/esp-idf-2/components/esp32/ld/esp32.peripherals.ld -- Configuring done -- Generating done -- Build files have been written to: C:/Users/kushwaha_d/Desktop/esp-idf-2/examples/get-started/blink/build/bootloader [334/821] Performing build step for 'bootloader' [1/55] Generating dummy_main_src.c [2/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_init.c.obj [3/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/cpu_util.c.obj [4/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/gpio_periph.c.obj [5/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk.c.obj [6/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_periph.c.obj [7/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk_init.c.obj [8/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_pm.c.obj [9/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_sleep.c.obj [10/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_time.c.obj [11/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/soc_memory_layout.c.obj [12/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/spi_periph.c.obj [13/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdio_slave_periph.c.obj [14/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_wdt.c.obj [15/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/src/memory_layout_utils.c.obj [16/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdmmc_periph.c.obj [17/55] Building C object esp-idf/log/CMakeFiles/idf_component_log.dir/log.c.obj [18/55] Linking C static library esp-idf\soc\libsoc.a [19/55] Generating idf_component_soc.sections_info [20/55] Linking C static library esp-idf\log\liblog.a [21/55] Building C object esp-idf/micro-ecc/CMakeFiles/idf_component_micro-ecc.dir/micro-ecc/uECC.c.obj [22/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_fields.c.obj [23/55] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/spi_flash_rom_patch.c.obj [24/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/esp32/esp_efuse_table.c.obj [25/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_utility.c.obj [26/55] Generating idf_component_log.sections_info [27/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_api.c.obj [28/55] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a [29/55] Linking C static library esp-idf\spi_flash\libspi_flash.a [30/55] Generating idf_component_micro-ecc.sections_info [31/55] Generating idf_component_spi_flash.sections_info [32/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_clock.c.obj [33/55] Linking C static library esp-idf\efuse\libefuse.a [34/55] Generating idf_component_efuse.sections_info [35/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_common.c.obj [36/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_random.c.obj [37/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash.c.obj [38/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash_config.c.obj [39/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/esp_image_format.c.obj [40/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_partitions.c.obj [41/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_sha.c.obj [42/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_qio_mode.c.obj [43/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_encrypt.c.obj [44/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_utility.c.obj [45/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot.c.obj [46/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot_signatures.c.obj [47/55] Building C object esp-idf/main/CMakeFiles/idf_component_main.dir/bootloader_start.c.obj [48/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_init.c.obj [49/55] Linking C static library esp-idf\main\libmain.a [50/55] Generating idf_component_main.sections_info [51/55] Linking C static library esp-idf\bootloader_support\libbootloader_support.a [52/55] Generating idf_component_bootloader_support.sections_info [53/55] Building C object CMakeFiles/bootloader.elf.dir/dummy_main_src.c.obj [54/55] Linking C executable bootloader.elf [55/55] Generating bootloader.bin esptool.py v2.8 [794/821] Building C object esp-idf/main/CMakeFiles/idf_component_main.dir/blink.c.obj FAILED: esp-idf/main/CMakeFiles/idf_component_main.dir/blink.c.obj ccache C:\Users\kushwaha_d\.espressif\tools\xtensa-esp32-elf\1.22.0-80-g6c4433a5-5.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DGCC_NOT_5_2_0=0 -DHAVE_CONFIG_H -DIDF_VER=\"v3.3.1\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -I../main -Iconfig -I../../../../components/app_trace/include -I../../../../components/app_update/include -I../../../../components/spi_flash/include -I../../../../components/bootloader_support/include -I../../../../components/asio/asio/asio/include -I../../../../components/asio/port/include -I../../../../components/lwip/include/apps -I../../../../components/lwip/include/apps/sntp -I../../../../components/lwip/lwip/src/include -I../../../../components/lwip/port/esp32/include -I../../../../components/lwip/port/esp32/include/arch -I../../../../components/lwip/include_compat -I../../../../components/vfs/include -I../../../../components/coap/port/include -I../../../../components/coap/port/include/coap -I../../../../components/coap/libcoap/include -I../../../../components/coap/libcoap/include/coap -I../../../../components/console -I../../../../components/driver/include -I../../../../components/esp_ringbuf/include -I../../../../components/efuse/include -I../../../../components/efuse/esp32/include -I../../../../components/esp-tls -I../../../../components/mbedtls/port/include -I../../../../components/mbedtls/mbedtls/include -I../../../../components/esp32/include -I../../../../components/tcpip_adapter/include -I../../../../components/esp_event/include -I../../../../components/log/include -I../../../../components/newlib/platform_include -I../../../../components/newlib/include -I../../../../components/freertos/include -I../../../../components/heap/include -I../../../../components/soc/esp32/include -I../../../../components/soc/include -I../../../../components/esp_adc_cal/include -I../../../../components/esp_http_client/include -I../../../../components/nghttp/port/include -I../../../../components/nghttp/nghttp2/lib/includes -I../../../../components/esp_http_server/include -I../../../../components/esp_https_ota/include -I../../../../components/esp_https_server/include -I../../../../components/openssl/include -I../../../../components/espcoredump/include -I../../../../components/ethernet/include -I../../../../components/expat/expat/expat/lib -I../../../../components/expat/port/include -I../../../../components/fatfs/src -I../../../../components/wear_levelling/include -I../../../../components/sdmmc/include -I../../../../components/freemodbus/modbus/include -I../../../../components/freemodbus/modbus_controller -I../../../../components/idf_test/include -I../../../../components/jsmn/include -I../../../../components/json/cJSON -I../../../../components/libsodium/libsodium/src/libsodium/include -I../../../../components/libsodium/port_include -I../../../../components/mdns/include -I../../../../components/micro-ecc/micro-ecc -I../../../../components/mqtt/esp-mqtt/include -I../../../../components/tcp_transport/include -I../../../../components/nvs_flash/include -I../../../../components/protobuf-c/protobuf-c -I../../../../components/protocomm/include/common -I../../../../components/protocomm/include/security -I../../../../components/protocomm/include/transports -I../../../../components/pthread/include -I../../../../components/smartconfig_ack/include -I../../../../components/spiffs/include -I../../../../components/ulp/include -I../../../../components/unity/include -I../../../../components/unity/unity/src -I../../../../components/wifi_provisioning/include -I../../../../components/wpa_supplicant/include -I../../../../components/wpa_supplicant/port/include -I../../../../components/xtensa-debug-module/include -mlongcalls -mlongcalls -Og -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -std=gnu99 -Wno-old-style-declaration -MD -MT esp-idf/main/CMakeFiles/idf_component_main.dir/blink.c.obj -MF esp-idf\main\CMakeFiles\idf_component_main.dir\blink.c.obj.d -o esp-idf/main/CMakeFiles/idf_component_main.dir/blink.c.obj -c ../main/blink.c In file included from ../main/system/DriverSWD/DriverSWD.h:9:0, from ../main/blink.c:6: ../main/data/SWDContext.h:9:20: fatal error: libswd.h: No such file or directory compilation terminated. [801/821] Building C object esp-idf/spiffs/CMakeFiles/idf_component_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1