Page 1 of 1

Eclipse: fatal error: ets_sys.h: No such file or directory

Posted: Mon May 21, 2018 12:34 pm
by Espe21
if i try to build the blinky example i get this error messages:

Code: Select all

14:28:35 **** Incremental Build of configuration Default for project blinky ****
python c:/msys32/home/pascal/esp/esp-idf/tools/windows/eclipse_make.py all 
../user/user_main.c:6:21: fatal error: ets_sys.h: No such file or directory
 #include <ets_sys.h>
                     ^
compilation terminated.
make: *** [user/subdir.mk:20: user/user_main.o] Error 1
Running make in 'C:/Espressif/examples/ESP8266/blinky/Default'
Building file: ../user/user_main.c
Invoking: Cygwin C Compiler
gcc -O2 -g -Wall -c -fmessage-length=0 -MMD -MP -MF"user/user_main.d" -MT"user/user_main.o" -o "user/user_main.o" "../user/user_main.c"

14:28:35 Build Finished (took 281ms)
please can anyone help me?
thank you.

Re: Eclipse: fatal error: ets_sys.h: No such file or directory

Posted: Tue May 22, 2018 3:05 am
by kolban
Are you sure you are trying to compile the correct thing? In your log I see:

C:/Espressif/examples/ESP8266/blinky/Default'

This is the forum for the ESP32 ... are you perhaps trying to compile an ESP8266 application? Those are different than for applications for the ESP32.

Re: Eclipse: fatal error: ets_sys.h: No such file or directory

Posted: Wed May 23, 2018 8:51 am
by Espe21
sorry. this was the wrong log. But i have solved my problem. thank you.

Re: Eclipse: fatal error: ets_sys.h: No such file or directory

Posted: Wed Jan 17, 2024 10:56 am
by Anurag Paul
How did you solve it?