-->
Page 2 of 2

Re: Compiling error: Multiple libraries were found for "OneW

PostPosted: Thu Feb 08, 2018 1:54 pm
by vcruzmed
Hi,

I started getting this problem after upgrading the ESP8266 core libraries to v2.4.0. Before the upgrade it was compiling fine. There are several ways to solve this problem but what I did was to include only the DallasTemperature.h header and delete the reference to OneWire.h from my sketch.

Hope it helps.

Re: Compiling error: Multiple libraries were found for "OneW

PostPosted: Fri Feb 09, 2018 2:11 am
by Petervdpol
Solved: renamed OneWire.h and OneWire.cpp in /libraries/DallasTemperature/

I wonder why OneWire is part of DallasTemperature: check the original at Github: https://github.com/milesburton/Arduino- ... ol-Library

Re: Compiling error: Multiple libraries were found for "OneW

PostPosted: Fri Feb 09, 2018 6:05 pm
by aDub
I had this, try updating your Dallas libraries. fixed it for me :)
Renaming libraries can cause confusion later when you forgot what you did!