Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Bug Reports
  3. Can't compiling GatewayW5100 sketch --> include SPI.h problem

Can't compiling GatewayW5100 sketch --> include SPI.h problem

Scheduled Pinned Locked Moved Bug Reports
7 Posts 3 Posters 2.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ArduiSens
    wrote on last edited by
    #1

    Dear MySensor team,

    I've downloaded the 2.1.1 - Latest Release
    compiler log of the GatewayW5100 sketch :

    In file included from C:\Users\User\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23:0,
    from C:\Users\User\Documents\Arduino\libraries\MySensors/MySensors.h:290,
    from GatewayW5100.ino:116:
    C:\Users\User\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:17: fatal error: SPI.h: No such file or directory
    #include <SPI.h>
    ^
    compilation terminated.

    Thanks!

    MySensors 2.3.2; contr:Domoticz; layer: RS485, nRF24; gw: Ethernet, Serial

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #2

      @ArduiSens

      Which version of arduino IDE, and what board type, did you set it up to?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ArduiSens
        wrote on last edited by
        #3

        @tbowmo said in Can't compiling GatewayW5100 sketch --> include SPI.h problem:

        t

        Hello,
        I'm using version 1.6.4 with arduino Uno
        regards,

        MySensors 2.3.2; contr:Domoticz; layer: RS485, nRF24; gw: Ethernet, Serial

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          Did you check if you actually have the spi library installed?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            ArduiSens
            wrote on last edited by
            #5

            After installing the Arduino IDE 1.8.1 it is solved.
            Other problem: I didn't find the last used arduino libraries in the 2.1.1 - Latest Release
            e.g. Adafruit_BMP085
            BH1750
            Bounce2
            DHT
            ...
            Or do I have to load these (https://github.com/thozza/MySensors-Arduino/tree/master/libraries) to my library folder?

            thanks in advance

            MySensors 2.3.2; contr:Domoticz; layer: RS485, nRF24; gw: Ethernet, Serial

            1 Reply Last reply
            0
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #6

              @ArduiSens

              All examples that rely on external libraries, have been moved to a separate repository, located here.

              This was done when we released 2.0.0, as we prepared the mysensors core library to be included in arduino library manager, and thus we can not support external libraries, and the examples thad uses them, in the core repository (we do frequent builds of all examples, to check integrity of the changes that are submitted)

              1 Reply Last reply
              0
              • A Offline
                A Offline
                ArduiSens
                wrote on last edited by
                #7

                Hello,
                I have had some other problems too, one of them was the reconnections-after-30-sec problem with Domotics (via Synology). To solve this I have compiled my UNO (with ethernet shield at top) 2 minutes ago and now I have full contact with Domotics (on Synology NAS). Start playing now ...

                thanks for the inspiration!

                MySensors 2.3.2; contr:Domoticz; layer: RS485, nRF24; gw: Ethernet, Serial

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                16

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular