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. Error Compiling EthernetGateway using Lib 1.4

Error Compiling EthernetGateway using Lib 1.4

Scheduled Pinned Locked Moved Bug Reports
7 Posts 3 Posters 3.9k Views 1 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.
  • C Offline
    C Offline
    clippermiami
    Hero Member
    wrote on last edited by clippermiami
    #1

    I installed the new libraries today and took a shot at compiling the Ethernet Gateway. i made the changes to use the iTead "iBoard" that i am using successfully under Lib 1.3 but I get an Error Compiling in an area that does not appear to have anything to do with the necessary board changes:

    This from the running compile log:


    In file included from C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors/Relay.h:15,
    from C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors/Gateway.h:15,
    from C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\Gateway.cpp:12:
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors/Sensor.h:23:20: warning: EEPROM.h: No such file or directory
    In file included from C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors/Sensor.h:18,
    from C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors/Relay.h:15,
    from C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors/Gateway.h:15,
    from C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\Gateway.cpp:12:
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:47: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:48: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:51: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:53: error: 'uint64_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:73: error: expected `)' before '_cepin'
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:139: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:162: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:182: error: 'uint64_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:208: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:208: error: 'uint64_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:217: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:245: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:279: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:312: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:325: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:355: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:355: error: 'uint32_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:403: error: 'uint32_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:419: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:419: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:485: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:511: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:537: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:607: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:607: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:614: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:628: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:637: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:650: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:699: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:712: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:722: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:802: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:810: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:820: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:829: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:840: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:851: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:858: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:865: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:874: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:883: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:896: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:896: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:909: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:909: error: 'uint8_t' has not been declared
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:923: error: 'uint8_t' does not name a type
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h: In member function 'bool RF24::isValid()':
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:568: error: 'ce_pin' was not declared in this scope
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\utility/RF24.h:568: error: 'csn_pin' was not declared in this scope
    C:\Documents and Settings\John Steele\My Documents\Dropbox\Apps\ArduinoDroid\Arduino-master\libraries\MySensors\Gateway.cpp: In member function 'void Gateway::begin(rf24_pa_dbm_e, uint8_t,


    EthernetGateway.ino.pdf

    1 Reply Last reply
    0
    • C Offline
      C Offline
      clippermiami
      Hero Member
      wrote on last edited by
      #2

      @Yveaux But this IS the code from the site. All I did was add back my pin changes for the iTead board.

      As a check I copied the code of the site directly, pasted it into the IDE with no changes and it fails to compile also. Three must be a problem with my copy/config of the Libraries but I've double checked them. I'm running everything from storage in DropBox so I can work from multiple systems so I dose it's possible there is a problem but I haven't found it yet.

      Y 1 Reply Last reply
      0
      • C clippermiami

        @Yveaux But this IS the code from the site. All I did was add back my pin changes for the iTead board.

        As a check I copied the code of the site directly, pasted it into the IDE with no changes and it fails to compile also. Three must be a problem with my copy/config of the Libraries but I've double checked them. I'm running everything from storage in DropBox so I can work from multiple systems so I dose it's possible there is a problem but I haven't found it yet.

        Y Offline
        Y Offline
        Yveaux
        Mod
        wrote on last edited by
        #3

        @clippermiami I see... Looking at https://github.com/mysensors/Arduino/tree/master/libraries/MySensors/examples/EthernetGateway the initialisation of the gateway is indeed identical to how you do it.
        Better ask @hek then ;-)

        http://yveaux.blogspot.nl

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hek
          Admin
          wrote on last edited by
          #4

          Hmm.. it compiles fine here. I'm using Arduino IDE 1.5.5. Could that make a difference?

          It also compiles fine in codebender. Could you try uploading from browser?
          http://www.mysensors.org/build/ethernet_gateway

          C 1 Reply Last reply
          0
          • H hek

            Hmm.. it compiles fine here. I'm using Arduino IDE 1.5.5. Could that make a difference?

            It also compiles fine in codebender. Could you try uploading from browser?
            http://www.mysensors.org/build/ethernet_gateway

            C Offline
            C Offline
            clippermiami
            Hero Member
            wrote on last edited by
            #5

            @hek Very strange. I'll see about upgrading the IDE but I think that's a reach :-)

            I didn't try the online approach yet, I haven't used at all this point. The iTead board needs some pin changes. Can those just be made online and then complied? Can the changes be saved to my local system?

            Now I'm leaning toward a problem with my configuration, picking up the old libraries somehow?

            H 1 Reply Last reply
            0
            • C clippermiami

              @hek Very strange. I'll see about upgrading the IDE but I think that's a reach :-)

              I didn't try the online approach yet, I haven't used at all this point. The iTead board needs some pin changes. Can those just be made online and then complied? Can the changes be saved to my local system?

              Now I'm leaning toward a problem with my configuration, picking up the old libraries somehow?

              H Offline
              H Offline
              hek
              Admin
              wrote on last edited by
              #6

              @clippermiami

              Yes you can do changes online. Just clone the example (button top-right when logged into codebender)

              C 1 Reply Last reply
              0
              • H hek

                @clippermiami

                Yes you can do changes online. Just clone the example (button top-right when logged into codebender)

                C Offline
                C Offline
                clippermiami
                Hero Member
                wrote on last edited by
                #7

                @hek Thanks.

                I've checked it ask again and it looks fine. Everything is where it's supposed to be:
                Arduino-Master/Libraries/MySensors/MySensor.h and MyGateway.h etc.

                Anyway, keep trying :-)

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                14

                Online

                12.0k

                Users

                11.2k

                Topics

                113.4k

                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