Hi !
I'm new to ESP32 and I'm trying to build "hello-world" example in Eclipse enviroment with Windows10
I have this error
11:48:30 **** Incremental Build of configuration Default for project hello_world ****
python "c:\\msys32\\esp\\esp-idf/tools/windows/eclipse_make.py" all
fatal: unable to join threaded lstat
fatal: unable to join threaded lstat
In file included from mconf.c:23:0:
lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory
compilation terminated.
make[1]: *** [<builtin>: mconf.o] Error 1
make: *** No rule to make target '/cygdrive/c/msys32/esp/esp-idf/tools/kconfig/conf', needed by '/cygdrive/c/ECLIPSE/ProgettiFW/hello_world/build/include/config/auto.conf'. Stop.
Running make in 'C:/ECLIPSE/ProgettiFW/hello_world'
Someone can help me?
Thank you very much!!!
lisa
curses.h
Re: curses.h
You have messed something with setup and/or paths. Here you have windows like path:
and in mingw32 you should use only unix like notations. Here also something odd, unless you have subfolder "c" in folder "cygdrive":c:\\msys32\\esp\\esp-idf/tools/windows/eclipse_make.py
/cygdrive/c/msys32/esp/esp-idf/tools/kconfig/conf
Re: curses.h
Hi Lisa,
According to the Eclipse ESP-IDF setup docs for Windows, the Windows-style IDF_PATH environment variable needs to use forward-slashes not backslashes to work correctly. However actually backslashes (as shown) should work with recent ESP-IDF, I just tested them.
I agree that there is something unexpected going on with the other paths shown in the build log, (/cygdrive/xxx). ESP-IDF shouldn't be showing Cygwin-style "cygdrive" paths.
I have a couple of questions to help narrow down the root cause:
Have you downloaded the Windows build environment (msys2 directory), as described here:
https://docs.espressif.com/projects/esp ... hain-setup
Have you set the environment variables in the Eclipse project, as described here:
https://docs.espressif.com/projects/esp ... properties
In particular, please double-check the BATCH_BUILD and PATH variables. The PATH has to be set to only directories which are part of the IDF MSYS2 directory, as shown at the link above.
We are working on making IDE setup less complex, especially for Windows users, in an upcoming ESP-IDF update.
According to the Eclipse ESP-IDF setup docs for Windows, the Windows-style IDF_PATH environment variable needs to use forward-slashes not backslashes to work correctly. However actually backslashes (as shown) should work with recent ESP-IDF, I just tested them.
I agree that there is something unexpected going on with the other paths shown in the build log, (/cygdrive/xxx). ESP-IDF shouldn't be showing Cygwin-style "cygdrive" paths.
I have a couple of questions to help narrow down the root cause:
Have you downloaded the Windows build environment (msys2 directory), as described here:
https://docs.espressif.com/projects/esp ... hain-setup
Have you set the environment variables in the Eclipse project, as described here:
https://docs.espressif.com/projects/esp ... properties
In particular, please double-check the BATCH_BUILD and PATH variables. The PATH has to be set to only directories which are part of the IDF MSYS2 directory, as shown at the link above.
We are working on making IDE setup less complex, especially for Windows users, in an upcoming ESP-IDF update.
Who is online
Users browsing this forum: No registered users and 91 guests