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



  • Hi,

    i'm currently trying to use ino to build a sketch for some ws2812b LEDs. in particular i'm using the Sketch found here: http://forum.mysensors.org/topic/2169/wall-mounted-mood-light/8

    but i'm getting the error below. i've installed ESP8266 Libraries as instructed on their Github page.

    can anyone help with the problems below?

    pi@gatekeeper ~/dev/arduino/rgb_node_with_effects $ ino build -m nano328
    Searching for Board description file (boards.txt) ... /usr/share/arduino/hardwar                                   e/arduino/boards.txt
    Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/                                   version.txt
    Detecting Arduino software version ...  1.0.5 (2:1.0.5+dfsg2-4)
    Searching for Arduino core library ... /usr/share/arduino/hardware/arduino/cores                                   /arduino
    Searching for Arduino standard libraries ... /usr/share/arduino/libraries
    Searching for Arduino variants directory ... /usr/share/arduino/hardware/arduino                                   /variants
    Searching for make ... /usr/share/arduino/hardware/tools/avr/bin/make
    Searching for avr-gcc ... /usr/share/arduino/hardware/tools/avr/bin/avr-gcc
    Searching for avr-g++ ... /usr/share/arduino/hardware/tools/avr/bin/avr-g++
    Searching for avr-ar ... /usr/share/arduino/hardware/tools/avr/bin/avr-ar
    Searching for avr-objcopy ... /usr/share/arduino/hardware/tools/avr/bin/avr-objc                                   opy
    src/rgb_node_with_effects/rgb_node_with_effects.ino
    Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/                                   version.txt
    Detecting Arduino software version ...  1.0.5 (2:1.0.5+dfsg2-4)
    Scanning dependencies of src
    Scanning dependencies of arduino
    Scanning dependencies of Robot_Control
    Scanning dependencies of FastLED
    /usr/share/arduino/libraries/MySensors/core/MyMainESP8266.cpp:3:21: fatal error: ets_sys.h: No such file or directory
     #include "ets_sys.h"
                         ^
    compilation terminated.
    .build/nano328/Makefile.deps:254: recipe for target '.build/nano328/MySensors/core/MyMainESP8266.d' failed
    make: *** [.build/nano328/MySensors/core/MyMainESP8266.d] Error 1
    Make failed with code 2
    
    


  • Never mind, bad installation of an old IDE on a Raspberry pi made this all go a bit wonky.

    I'll try with a newer IDE built from Source.


Log in to reply
 

Suggested Topics

  • 1
  • 5
  • 3
  • 1
  • 3
  • 6

1
Online

11.4k
Users

11.1k
Topics

112.7k
Posts