Error During ESP-IDF Eclipse Build on Windows

Jordannel
Posts: 2
Joined: Fri Dec 07, 2018 12:13 pm

Error During ESP-IDF Eclipse Build on Windows

Postby Jordannel » Fri Dec 07, 2018 1:05 pm

Hi there,

I have been trying to get the ESP-IDF up and running with Eclipse Photon for the past few days now with no success. I have tried following multiple tutorials and always end up getting the same error during my build. The logs below are from a build following the official Espressif "Build and Flash with Eclipse IDE" guide - https://docs.espressif.com/projects/esp ... setup.html

I am able to successfully flash my ESP dev board with example firmware using the "mingw32.exe"

I won't post the entire build log, only the lines prior to and after the errors. The errors that Eclipse is highlighting are the lines starting with "IOError: ..." and "make: *** [/home..." I'm happy to provide screenshots of my project properties if need be. If there is anyone that could assist me with this I would be extremely grateful.

Build Log:

Code: Select all

cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/app_trace/libapp_trace.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/app_update/libapp_update.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/asio/libasio.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/aws_iot/libaws_iot.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/bootloader_support/libbootloader_support.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/bt/libbt.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/coap/libcoap.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/console/libconsole.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/cxx/libcxx.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/driver/libdriver.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp-tls/libesp-tls.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp32/libesp32.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp_adc_cal/libesp_adc_cal.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp_event/libesp_event.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp_http_client/libesp_http_client.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp_http_server/libesp_http_server.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp_https_ota/libesp_https_ota.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp_https_server/libesp_https_server.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/esp_ringbuf/libesp_ringbuf.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/ethernet/libethernet.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/expat/libexpat.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/fatfs/libfatfs.a.sections_info\n" - Not a directory
Traceback (most recent call last):
  File "C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/tools/ldgen/ldgen.py", line 114, in <module>
    main()
  File "C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/tools/ldgen/ldgen.py", line 98, in main
    sdkconfig = SDKConfig(kconfig_file, config_file, args.env)
  File "C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/tools/ldgen/sdkconfig.py", line 54, in __init__
    self.config = kconfiglib.Kconfig(kconfig_file.name)
  File "C:\ESP_IDF\msys32\home\Jordan\esp\esp-idf\tools\kconfig_new/kconfiglib.py", line 653, in __init__
    self.top_node)  # prev_node
  File "C:\ESP_IDF\msys32\home\Jordan\esp\esp-idf\tools\kconfig_new/kconfiglib.py", line 1546, in _parse_block
    self._enter_file(sourced_file)
  File "C:\ESP_IDF\msys32\home\Jordan\esp\esp-idf\tools\kconfig_new/kconfiglib.py", line 1130, in _enter_file
    .format(self._filename, self._linenr, e.message))
IOError: C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/Kconfig:59: Could not open '/home/Jordan/esp/esp-idf/components/app_update/Kconfig.projbuild' (ENOENT: No such file or directory). Perhaps the $srctree environment variable (which was unset) is set incorrectly. Note that the current value of $srctree is saved when the Kconfig instance is created (for consistency and to cleanly separate instances). Also note that e.g. $FOO in a 'source' statement does not refer to the environment variable FOO, but rather to the Kconfig Symbol FOO (which would commonly have 'option env="FOO"' in its definition).
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/freemodbus/libfreemodbus.a.sections_info\n" - Not a directory
make: *** [/home/Jordan/esp/esp-idf/components/esp32/Makefile.projbuild:51: /home/Jordan/esp/esp-projects/blink/build/esp32/esp32.common.ld] Error 1
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/freertos/libfreertos.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/heap/libheap.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/idf_test/libidf_test.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/jsmn/libjsmn.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/json/libjson.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/libsodium/liblibsodium.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/log/liblog.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/lwip/liblwip.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/main/libmain.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/mbedtls/libmbedtls.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/mdns/libmdns.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/micro-ecc/libmicro-ecc.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/mqtt/libmqtt.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/newlib/libnewlib.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/nghttp/libnghttp.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/nvs_flash/libnvs_flash.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/openssl/libopenssl.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/protobuf-c/libprotobuf-c.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/protocomm/libprotocomm.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/pthread/libpthread.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/sdmmc/libsdmmc.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/smartconfig_ack/libsmartconfig_ack.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/soc/libsoc.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/spi_flash/libspi_flash.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/spiffs/libspiffs.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/tcp_transport/libtcp_transport.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/tcpip_adapter/libtcpip_adapter.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/ulp/libulp.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/unity/libunity.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/vfs/libvfs.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/wear_levelling/libwear_levelling.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/wifi_provisioning/libwifi_provisioning.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/wpa_supplicant/libwpa_supplicant.a.sections_info\n" - Not a directory
cygpath: error converting "/home/Jordan/esp/esp-projects/blink/build/xtensa-debug-module/libxtensa-debug-module.a.sections_info\n" - Not a directory
xtensa-esp32-elf-ar cru libwpa_supplicant.a src/crypto/ms_funcs.o src/crypto/crypto_internal-cipher.o src/crypto/crypto_internal-modexp.o src/crypto/bignum.o src/crypto/sha1-pbkdf2.o src/crypto/aes-cbc.o src/crypto/md5.o src/crypto/rc4.o src/crypto/sha256.o src/crypto/dh_groups.o src/crypto/md4-internal.o src/crypto/sha1-internal.o src/crypto/aes-wrap.o src/crypto/crypto_mbedtls.o src/crypto/crypto_internal.o src/crypto/dh_group5.o src/crypto/des-internal.o src/crypto/crypto_internal-rsa.o src/crypto/aes-unwrap.o src/crypto/aes-internal-dec.o src/crypto/sha1.o src/crypto/aes-internal.o src/crypto/md5-internal.o src/crypto/sha256-internal.o src/crypto/aes-internal-enc.o port/os_xtensa.o src/fast_crypto/fast_crypto_internal-cipher.o src/fast_crypto/fast_crypto_internal-modexp.o src/fast_crypto/fast_aes-unwrap.o src/fast_crypto/fast_sha256.o src/fast_crypto/fast_crypto_internal.o src/fast_crypto/fast_aes-cbc.o src/fast_crypto/fast_sha256-internal.o src/fast_crypto/fast_aes-wrap.o src/wpa2/eap_peer/eap_peap_common.o src/wpa2/eap_peer/chap.o src/wpa2/eap_peer/eap_mschapv2.o src/wpa2/eap_peer/eap_peap.o src/wpa2/eap_peer/eap_ttls.o src/wpa2/eap_peer/eap_tls_common.o src/wpa2/eap_peer/eap_tls.o src/wpa2/eap_peer/mschapv2.o src/wpa2/eap_peer/eap_common.o src/wpa2/eap_peer/eap.o src/wpa2/tls/tls_internal.o src/wpa2/tls/tlsv1_common.o src/wpa2/tls/tlsv1_server_write.o src/wpa2/tls/bignum.o src/wpa2/tls/tlsv1_record.o src/wpa2/tls/pkcs5.o src/wpa2/tls/pkcs1.o src/wpa2/tls/tlsv1_client_write.o src/wpa2/tls/tlsv1_server_read.o src/wpa2/tls/asn1.o src/wpa2/tls/pkcs8.o src/wpa2/tls/rsa.o src/wpa2/tls/tlsv1_client.o src/wpa2/tls/tlsv1_client_read.o src/wpa2/tls/tlsv1_cred.o src/wpa2/tls/x509v3.o src/wpa2/tls/tlsv1_server.o src/wpa2/utils/ext_password.o src/wpa2/utils/base64.o src/wps/wps_enrollee.o src/wps/uuid.o src/wps/wps_attr_build.o src/wps/wps_registrar.o src/wps/wps_common.o src/wps/wps.o src/wps/wps_dev_attr.o src/wps/wps_attr_parse.o src/wps/wps_validate.o src/wps/wps_attr_process.o src/wps/eap_common.o
make[1]: Leaving directory 'C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/wpa_supplicant'
Target 'component-wpa_supplicant-build' responsible for 'C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/wpa_supplicant/libwpa_supplicant.a'
Generating libmbedtls.a.sections_info
xtensa-esp32-elf-objdump -h  C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/mbedtls/libmbedtls.a >  C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/mbedtls/libmbedtls.a.sections_info
Generating libwpa_supplicant.a.sections_info
xtensa-esp32-elf-objdump -h  C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/wpa_supplicant/libwpa_supplicant.a >  C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/wpa_supplicant/libwpa_supplicant.a.sections_info
printf "/home/Jordan/esp/esp-projects/blink/build/app_trace/libapp_trace.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/app_update/libapp_update.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/asio/libasio.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/aws_iot/libaws_iot.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/bootloader_support/libbootloader_support.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/bt/libbt.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/coap/libcoap.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/console/libconsole.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/cxx/libcxx.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/driver/libdriver.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp-tls/libesp-tls.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp32/libesp32.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp_adc_cal/libesp_adc_cal.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp_event/libesp_event.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp_http_client/libesp_http_client.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp_http_server/libesp_http_server.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp_https_ota/libesp_https_ota.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp_https_server/libesp_https_server.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/esp_ringbuf/libesp_ringbuf.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/ethernet/libethernet.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/expat/libexpat.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/fatfs/libfatfs.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/freemodbus/libfreemodbus.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/freertos/libfreertos.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/heap/libheap.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/idf_test/libidf_test.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/jsmn/libjsmn.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/json/libjson.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/libsodium/liblibsodium.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/log/liblog.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/lwip/liblwip.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/main/libmain.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/mbedtls/libmbedtls.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/mdns/libmdns.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/micro-ecc/libmicro-ecc.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/mqtt/libmqtt.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/newlib/libnewlib.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/nghttp/libnghttp.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/nvs_flash/libnvs_flash.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/openssl/libopenssl.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/protobuf-c/libprotobuf-c.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/protocomm/libprotocomm.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/pthread/libpthread.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/sdmmc/libsdmmc.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/smartconfig_ack/libsmartconfig_ack.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/soc/libsoc.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/spi_flash/libspi_flash.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/spiffs/libspiffs.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/tcp_transport/libtcp_transport.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/tcpip_adapter/libtcpip_adapter.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/ulp/libulp.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/unity/libunity.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/vfs/libvfs.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/wear_levelling/libwear_levelling.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/wifi_provisioning/libwifi_provisioning.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/wpa_supplicant/libwpa_supplicant.a.sections_info\n /home/Jordan/esp/esp-projects/blink/build/xtensa-debug-module/libxtensa-debug-module.a.sections_info\n" > C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos
sed -E -i.bak 's|^[[:blank:]]*||g' C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos
rm /home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos.bak
mv C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos /home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos.temp
cygpath -w -f /home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos.temp > C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos
rm -f /home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos.temp
Generating esp32.common.ld
python C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/tools/ldgen/ldgen.py --input          C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp32/ld/esp32.common.ld.in --config        C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/sdkconfig --fragments      C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/app_trace/linker.lf           C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp32/ld/esp32_fragments.lf C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp32/linker.lf       C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp_ringbuf/linker.lf     C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/freertos/linker.lf C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/heap/linker.lf                     C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/soc/linker.lf C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/spi_flash/linker.lf          C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/xtensa-debug-module/linker.lf --output         /home/Jordan/esp/esp-projects/blink/build/esp32/esp32.common.ld --sections      C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/build/ldgen.section_infos --kconfig       C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/Kconfig --env           "COMPONENT_KCONFIGS=C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/app_trace/Kconfig   C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/aws_iot/Kconfig   C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/bt/Kconfig    C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/driver/Kconfig  C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp32/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp_adc_cal/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp_event/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp_http_client/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esp_http_server/Kconfig     C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/ethernet/Kconfig  C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/fatfs/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/freemodbus/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/freertos/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/heap/Kconfig    C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/libsodium/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/log/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/lwip/Kconfig  C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/mbedtls/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/mdns/Kconfig  C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/mqtt/Kconfig   C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/nvs_flash/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/openssl/Kconfig    C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/pthread/Kconfig    C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/spi_flash/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/spiffs/Kconfig  C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/tcpip_adapter/Kconfig  C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/unity/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/vfs/Kconfig C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/wear_levelling/Kconfig   " --env           "COMPONENT_KCONFIGS_PROJBUILD= C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/app_update/Kconfig.projbuild   C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/bootloader/Kconfig.projbuild                C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/esptool_py/Kconfig.projbuild             C:/ESP_IDF/msys32/home/Jordan/esp/esp-projects/blink/main/Kconfig.projbuild         C:/ESP_IDF/msys32/home/Jordan/esp/esp-idf/components/partition_table/Kconfig.projbuild                 " --env           "IDF_CMAKE=n"

14:50:57 Build Failed. 2 errors, 0 warnings. (took 2m:41s.391ms)

User avatar
arunbm123
Posts: 97
Joined: Fri Feb 23, 2018 5:36 am

Re: Error During ESP-IDF Eclipse Build on Windows

Postby arunbm123 » Wed Dec 12, 2018 3:50 am

hi
Same Issue here..

Struggling from days to setup windows Enviroment..
No One is offering any Solution

jcsbanks
Posts: 305
Joined: Tue Mar 28, 2017 8:03 pm

Re: Error During ESP-IDF Eclipse Build on Windows

Postby jcsbanks » Wed Dec 12, 2018 3:31 pm

Same here. See https://github.com/espressif/esp-idf/issues/2812 but no solution yet.

User avatar
arunbm123
Posts: 97
Joined: Fri Feb 23, 2018 5:36 am

Re: Error During ESP-IDF Eclipse Build on Windows

Postby arunbm123 » Thu Dec 13, 2018 7:45 am

hello Friends

I was also strugling for a while..

Now I am able to Flash and build using ecilpse on Windows enviroment

try esp32_win32_msys2_environment_and_toolchain-20180110 version of toolchain and check these settings below

“C/C++ Build” Use default build command
python ${IDF_PATH}/tools/windows/eclipse_make.py

"C / C ++ Build" "Environment"
BATCH_BUILD 1
IDF_PATH C:/msys32/home/ARGE14/esp-idf
PATH C:\msys32\usr\bin;C:\msys32\mingw32\bin;C:\msys32\opt\xtensa-esp32-elf\bin

"C / C ++ General" "Preprocessor Include Paths, Macros, etc."

CDT GCC Built-in Compiler Settings Cygwin
xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"

CDT GCC Build Output Parser
xtensa-esp32-elf-((g?cc)|([gc]\+\+)|(clang))

Hope this Helps !!!!
-Arun

Jordannel
Posts: 2
Joined: Fri Dec 07, 2018 12:13 pm

Re: Error During ESP-IDF Eclipse Build on Windows

Postby Jordannel » Mon Jan 07, 2019 1:20 pm

An update from my side on this issue.

Also thanks for the posting those project settings @arunbm123. My settings were pretty much identical to the ones in your reply, and still no joy.

But all hope is not lost, I have my Eclipse setup working now. Finally. I updated my ESP-IDF to the latest version (Currently ESP-IDF Release v3.1.2 at the time of this post), and that was it. Everything worked.

So if you are having this issue, just make sure you're running the latest version of the ESP-IDF.

Who is online

Users browsing this forum: Bing [Bot] and 114 guests