Unable to build esp32 examples using eclipse

mrdebug
Posts: 43
Joined: Sat Jul 27, 2019 8:26 am

Unable to build esp32 examples using eclipse

Postby mrdebug » Thu Sep 05, 2019 11:53 am

The error is:

Code: Select all

C:\Esp32\hello_world>python C:/Esp32/esp-idf/tools/windows/eclipse_make.py -j4 clean
Traceback (most recent call last):
  File "C:/Esp32/esp-idf/tools/windows/eclipse_make.py", line 43, in <module>
    main()
  File "C:/Esp32/esp-idf/tools/windows/eclipse_make.py", line 34, in main
    print("Running make in '%s'" % check_path(os.getcwd()))
  File "C:/Esp32/esp-idf/tools/windows/eclipse_make.py", line 23, in check_path
    winpath = subprocess.check_output(["cygpath", "-w", path]).strip()
  File "C:\Users\Utente\AppData\Local\Programs\Python\Python37\Lib\subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "C:\Users\Utente\AppData\Local\Programs\Python\Python37\Lib\subprocess.py", line 472, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\Utente\AppData\Local\Programs\Python\Python37\Lib\subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "C:\Users\Utente\AppData\Local\Programs\Python\Python37\Lib\subprocess.py", line 1178, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato

C:\Esp32\hello_world>

The error appears in eclipse.
If I try to build the project by hand using the esp-idf console everything works well.
If I try to run this

Code: Select all

python C:/Esp32/esp-idf/tools/windows/eclipse_make.py -j4 clean
in the idf console the same eclipse error appears.

Who is online

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