My Bad (solved): Temperature sketch MySensors 1.3 under Arduino 1.0.5 -- not compiling?
-
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!
-
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..
-
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
-
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 4 days ago -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 13 days ago • bocalexandru 11 days ago