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. MySensor.h error

MySensor.h error

Scheduled Pinned Locked Moved Bug Reports
8 Posts 5 Posters 8.0k Views 4 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.
  • nicorodriN Offline
    nicorodriN Offline
    nicorodri
    wrote on last edited by
    #1

    Hi Everybody,

    What's wrong with this library? I'am trying everything (replacing the IDE, the library, type of board, etc) without success.
    Could any one help me?
    Thank you very much!
    Nicolas

    **Arduino:1.6.9 (Windows 10), Tarjeta:"Arduino/Genuino Uno"

    C:\Users\Nicolás Rodríguez To\Documents\Arduino\IrrigationController\IrrigationController.ino:88:22: fatal error: MySensor.h: No such file or directory

    compilation terminated.

    exit status 1
    Error compilación en tarjeta Arduino/Genuino Uno.

    Este reporte podría tener más información con
    "Mostrar salida detallada durante la compilación"
    opción habilitada en Archivo -> Preferencias.**

    T 1 Reply Last reply
    0
    • F Offline
      F Offline
      fets
      wrote on last edited by
      #2

      @nicorodri did you install librairies as mentionned here in section "Installing the sensor libraries"

      1 Reply Last reply
      0
      • nicorodriN nicorodri

        Hi Everybody,

        What's wrong with this library? I'am trying everything (replacing the IDE, the library, type of board, etc) without success.
        Could any one help me?
        Thank you very much!
        Nicolas

        **Arduino:1.6.9 (Windows 10), Tarjeta:"Arduino/Genuino Uno"

        C:\Users\Nicolás Rodríguez To\Documents\Arduino\IrrigationController\IrrigationController.ino:88:22: fatal error: MySensor.h: No such file or directory

        compilation terminated.

        exit status 1
        Error compilación en tarjeta Arduino/Genuino Uno.

        Este reporte podría tener más información con
        "Mostrar salida detallada durante la compilación"
        opción habilitada en Archivo -> Preferencias.**

        T Offline
        T Offline
        TheoL
        Contest Winner
        wrote on last edited by
        #3

        @nicorodri I ran into the same problem today, when I tried to compile the sketch in the API documentation. There might be a bug in that sketch. It's saying:

        #include <MySensor.h>
        

        Which should be:

        #include <MySensors.h>
        

        At least it got it working for me. Maybe @hek is able to verify the bug and adjust the example sketch stated here https://www.mysensors.org/download/sensor_api_20

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tbowmo
          Admin
          wrote on last edited by tbowmo
          #4

          the header file is renamed to MySensors.h now, to comply with the library name (which is MySensors)

          I believe that the examples on github (here and here) should be changed to use the new file name..

          T 1 Reply Last reply
          1
          • T tbowmo

            the header file is renamed to MySensors.h now, to comply with the library name (which is MySensors)

            I believe that the examples on github (here and here) should be changed to use the new file name..

            T Offline
            T Offline
            TheoL
            Contest Winner
            wrote on last edited by
            #5

            @tbowmo glad that it's confirmed. I was beginning to think I'm getting crazy ;-)

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

              @theol, Thanks, I'll update the main site accordingly.

              Edit: done

              T 1 Reply Last reply
              0
              • H hek

                @theol, Thanks, I'll update the main site accordingly.

                Edit: done

                T Offline
                T Offline
                TheoL
                Contest Winner
                wrote on last edited by
                #7

                @hek Thank you. Does this name change mean, that I can keep 1.5 and 2.0 beside eachother? Would be great and handy for the next couple of months/weeks

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

                  No, wouldn't recommend it. Besides the folder name was MySensors in 1.5.4 as well.

                  https://github.com/mysensors/MySensors/tree/1.5.4/libraries/MySensors

                  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


                  12

                  Online

                  12.1k

                  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