- Fri Jun 24, 2016 7:10 pm
#190389
I am a complete noob and can't get the sketch to compile, here is the errors any ideas??:
sketch\Wimp_Weather_Station.ino.cpp.o: In function `calcWeather()':
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:414: undefined reference to `HTU21D::readHumidity()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:420: undefined reference to `MPL3115A2::readTempF()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:431: undefined reference to `MPL3115A2::readPressure()'
sketch\Wimp_Weather_Station.ino.cpp.o: In function `setup':
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:173: undefined reference to `MPL3115A2::begin()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:174: undefined reference to `MPL3115A2::setModeBarometer()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:175: undefined reference to `MPL3115A2::setOversampleRate(unsigned char)'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:176: undefined reference to `MPL3115A2::enableEventFlags()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:177: undefined reference to `MPL3115A2::setModeActive()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:180: undefined reference to `HTU21D::begin()'
sketch\Wimp_Weather_Station.ino.cpp.o: In function `__static_initialization_and_destruction_0':
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:36: undefined reference to `MPL3115A2::MPL3115A2()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:37: undefined reference to `HTU21D::HTU21D()'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.
sketch\Wimp_Weather_Station.ino.cpp.o: In function `calcWeather()':
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:414: undefined reference to `HTU21D::readHumidity()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:420: undefined reference to `MPL3115A2::readTempF()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:431: undefined reference to `MPL3115A2::readPressure()'
sketch\Wimp_Weather_Station.ino.cpp.o: In function `setup':
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:173: undefined reference to `MPL3115A2::begin()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:174: undefined reference to `MPL3115A2::setModeBarometer()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:175: undefined reference to `MPL3115A2::setOversampleRate(unsigned char)'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:176: undefined reference to `MPL3115A2::enableEventFlags()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:177: undefined reference to `MPL3115A2::setModeActive()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:180: undefined reference to `HTU21D::begin()'
sketch\Wimp_Weather_Station.ino.cpp.o: In function `__static_initialization_and_destruction_0':
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:36: undefined reference to `MPL3115A2::MPL3115A2()'
C:\Users\N0HYD\Documents\Arduino\Wimp_Weather_Station-master\Wimp_Weather_Station/Wimp_Weather_Station.ino:37: undefined reference to `HTU21D::HTU21D()'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.