정보나눔

오픈소스하드웨어 프로젝트에 대한 다양한 정보를 나누는 공간입니다.

스마트 홈 키트 업로드 문제
kyonko | 2018-11-19

스마트 홈 키트에 대한 질문입니다. 스마트 홈 설명 페이지에 나와있는 코드를 그대로 사용하였습니다.

업로드 환경은 win 10, sketch 환경입니다.

 

아두이노:1.8.7 (Windows 10), 보드:"Arduino/Genuino Uno"

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::DHT(unsigned char, unsigned char, unsigned char)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::DHT(unsigned char, unsigned char, unsigned char)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::begin()'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::convertCtoF(float)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::convertFtoC(float)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::computeHeatIndex(float, float, bool)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::expectPulse(bool)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::read(bool)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::readTemperature(bool, bool)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)':

(.text+0x0): multiple definition of `DHT::readHumidity(bool)'

libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

"Adafruit_Sensor.h"를 위한 복수개의 라이브러리가 발견되었습니다
 사용됨: C:\Users\user\Documents\Arduino\libraries\Adafruit_Sensor-master
사용되지 않음: C:\Users\user\Documents\Arduino\libraries\Adafruit_Unified_Sensor
"DHT.h"를 위한 복수개의 라이브러리가 발견되었습니다
 사용됨: C:\Users\user\Documents\Arduino\libraries\DHT.h
사용되지 않음: C:\Users\user\Documents\Arduino\libraries\DHT-sensor-library-master
exit status 1
보드 Arduino/Genuino Uno 컴파일 에러.

 

 

이상의 에러가 발생하는데 어떻게 해결해야 하는지 감이 잡히질 않습니다.

타 시리즈의 경우 Uno로 설정하고 업로드를 해도 정상적으로 작동하였는데

유독 스마트홈만 현재 작동이 되질 않습니다.

이전글   |    근전도 센서(emg센서) 및 프로젝트 2018-11-18
다음글   |    코딩을 합치고싶습니다 2018-11-19