- Mon Aug 08, 2016 11:05 pm
#191040
Hi all,
I have a problem with the BME280 Library.
It compiles just fine using the standard arduino IDE but when it comes to Visual Studio (with the vMicro addon) with the error.
It's got me stumped.
I have a problem with the BME280 Library.
It compiles just fine using the standard arduino IDE but when it comes to Visual Studio (with the vMicro addon) with the error.
Code: Select all
I have been using VS for a while now and have compiled and uploaded all my .ino's with no problems.sparkfunBME280.cpp.o:In function `loop
sparkfunBME280.ino:undefined reference to `BME280 readTempC()
sparkfunBME280.ino:undefined reference to `BME280 readTempF()
sparkfunBME280.ino:undefined reference to `BME280 readFloatPressure()
sparkfunBME280.ino:undefined reference to `BME280 readFloatAltitudeMeters()
sparkfunBME280.ino:undefined reference to `BME280 readFloatAltitudeFeet()
sparkfunBME280.ino:undefined reference to `BME280 readFloatHumidity()
sparkfunBME280.cpp.o:In function `__static_initialization_and_destruction_0
sparkfunBME280.ino:undefined reference to `BME280 BME280()
collect2.exe*:error: ld returned 1 exit status
It's got me stumped.