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! -
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! -
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 :-)
-
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 :-)
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