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. Troubleshooting
  3. My Bad (solved): Temperature sketch MySensors 1.3 under Arduino 1.0.5 -- not compiling?

My Bad (solved): Temperature sketch MySensors 1.3 under Arduino 1.0.5 -- not compiling?

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 2.4k 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.
  • N Offline
    N Offline
    Nuubi
    wrote on last edited by Nuubi
    #1

    Hi,
    could anybody confirm that DallasTemperatureSensor is compiling under Arduino 1.0.5 using MySensors v1.3?
    I'm getting this error, cannot understand how to overcome it:

    In file included from C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Arduino.h:192,
    from C:\Users\Documents\Arduino\libraries\DallasTemperature\DallasTemperature.cpp:9:
    C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:116: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, const char*)' conflicts with
    C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:115: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, const String&)' here
    C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:117: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, char)' conflicts with.....
    **
    and so on and so on!

    R 1 Reply Last reply
    0
    • N Nuubi

      Hi,
      could anybody confirm that DallasTemperatureSensor is compiling under Arduino 1.0.5 using MySensors v1.3?
      I'm getting this error, cannot understand how to overcome it:

      In file included from C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Arduino.h:192,
      from C:\Users\Documents\Arduino\libraries\DallasTemperature\DallasTemperature.cpp:9:
      C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:116: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, const char*)' conflicts with
      C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:115: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, const String&)' here
      C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/WString.h:117: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, char)' conflicts with.....
      **
      and so on and so on!

      R Offline
      R Offline
      RJ_Make
      Hero Member
      wrote on last edited by
      #2

      @Nuubi

      Yes I can confirm that they do indeed work fine together. Those are the exact same versions I was working with before moving to v1.4b a week or so ago..

      RJ_Make

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nuubi
        wrote on last edited by Nuubi
        #3

        Thanks!

        Got some extra energy to continue wondering why oh WHY... turned out that my own 1-wire library from 2010 conflicted with the official onewire library! Different directory name, but the same filename... Go figure!

        Hope someone learns from this :-)

        Y 1 Reply Last reply
        0
        • N Nuubi

          Thanks!

          Got some extra energy to continue wondering why oh WHY... turned out that my own 1-wire library from 2010 conflicted with the official onewire library! Different directory name, but the same filename... Go figure!

          Hope someone learns from this :-)

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

          @Nuubi said:

          Hope someone learns from this

          Yeah! Like.... you? :-)

          http://yveaux.blogspot.nl

          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


          9

          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