OCS 3 compiling error on 2 sensors


koal01
 

Howard, i have errors with 2 sensors, the MLX90614 and the bmp280 (actually i'm using the bmp180 but i downloaded the bmp280 lib for the test, the bme280 works fine as well as other sensors.

Error on the MLX :
C:\Users\me\AppData\Local\Temp\arduino_build_975909\sketch\src\lib\weatherSensor\CloudMlx90614.cpp: In member function 'bool Mlx90614w::init()':
C:\Users\me\AppData\Local\Temp\arduino_build_975909\sketch\src\lib\weatherSensor\CloudMlx90614.cpp:25:52: error: no matching function for call to 'Adafruit_MLX90614::begin(int)'
   if (mlxSensor.begin(WEATHER_SENSOR_CLOUD_MLX90614)) {                                                    ^
In file included from C:\Users\me\AppData\Local\Temp\arduino_build_975909\sketch\src\lib\weatherSensor\CloudMlx90614.cpp:8:0:
C:\Users\me\Documents\Arduino\libraries\Adafruit-MLX90614/Adafruit_MLX90614.h:52:11: note: candidate: boolean Adafruit_MLX90614::begin()
   boolean begin();
           ^~~~~
C:\Users\me\Documents\Arduino\libraries\Adafruit-MLX90614/Adafruit_MLX90614.h:52:11: note:   candidate expects 0 arguments, 1 provided

Error with the bmp280 :
In file included from C:\Users\me\AppData\Local\Temp\arduino_build_975909\sketch\src\lib\weatherSensor\TpBmp280.cpp:9:0:
Plusieurs bibliothèque trouvées pour "SD.h"
C:\Users\me\Documents\Arduino\libraries\Adafruit_BMP280/Adafruit_BMP280.h:26:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
Utilisé : C:\Users\me\Documents\Arduino\libraries\SD
 #include <Adafruit_I2CDevice.h>

Thank you for your help


Howard Dutton
 

I'm guessing these are both related to your not having the proper libraries installed for the Arduino IDE.

I think you might have realized/fixed this but not sure, at any rate I can enable both of these and it compiles successfully here.