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.1k 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.
  • NuubiN Offline
    NuubiN 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!

    RJ_MakeR 1 Reply Last reply
    0
    • NuubiN 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!

      RJ_MakeR Offline
      RJ_MakeR 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
      • NuubiN Offline
        NuubiN 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 :-)

        YveauxY 1 Reply Last reply
        0
        • NuubiN 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 :-)

          YveauxY Offline
          YveauxY 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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          11

          Online

          11.7k

          Users

          11.2k

          Topics

          113.0k

          Posts


          Copyright 2019 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