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

Espe21
Posts: 8
Joined: Sat May 19, 2018 6:38 am

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

Postby Espe21 » Mon May 21, 2018 12:34 pm

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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

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

Postby kolban » Tue May 22, 2018 3:05 am

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.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Espe21
Posts: 8
Joined: Sat May 19, 2018 6:38 am

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

Postby Espe21 » Wed May 23, 2018 8:51 am

sorry. this was the wrong log. But i have solved my problem. thank you.

Anurag Paul
Posts: 11
Joined: Thu Jul 14, 2022 5:07 am

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

Postby Anurag Paul » Wed Jan 17, 2024 10:56 am

How did you solve it?

Who is online

Users browsing this forum: No registered users and 94 guests