Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

getting started problem
#8

Making progress... I think.
I added the link before but I needed to actually install "esp8266 by ESP8266 Community version 2.4.2"
before I could see the option for "Lolin(wemos) R1 D2 mini"

I'm not sure if I have the other options for that board correct.


Now I'm getting a different error.

Code:
Arduino: 1.8.8 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600" Build options changed, rebuilding all WeatherDuino_P2ESP8266_RX_v2.0_b001:327:8: error: no matching function for call to 'BME280::BME280()' BME280 bme;        ^ /home/gord/Documents/WeatherDuino/WeatherDuino_Pro2_Compact/software/RX software/WeatherDuino_P2ESP8266_RX_v2.0_b001/WeatherDuino_P2ESP8266_RX_v2.0_b001.ino:327:8: note: candidates are: In file included from /home/gord/Documents/WeatherDuino/WeatherDuino_Pro2_Compact/software/RX software/WeatherDuino_P2ESP8266_RX_v2.0_b001/WeatherDuino_P2ESP8266_RX_v2.0_b001.ino:59:0: /home/gord/Arduino/libraries/BME280/src/BME280.h:143:4: note: BME280::BME280(const BME280::Settings&)    BME280(    ^ /home/gord/Arduino/libraries/BME280/src/BME280.h:143:4: note:   candidate expects 1 argument, 0 provided /home/gord/Arduino/libraries/BME280/src/BME280.h:43:7: note: constexpr BME280::BME280(const BME280&) class BME280       ^ /home/gord/Arduino/libraries/BME280/src/BME280.h:43:7: note:   candidate expects 1 argument, 0 provided /home/gord/Arduino/libraries/BME280/src/BME280.h:43:7: note: constexpr BME280::BME280(BME280&&) /home/gord/Arduino/libraries/BME280/src/BME280.h:43:7: note:   candidate expects 1 argument, 0 provided WeatherDuino_P2ESP8266_RX_v2.0_b001:327:8: error: cannot declare variable 'bme' to be of abstract type 'BME280' BME280 bme;        ^ In file included from /home/gord/Documents/WeatherDuino/WeatherDuino_Pro2_Compact/software/RX software/WeatherDuino_P2ESP8266_RX_v2.0_b001/WeatherDuino_P2ESP8266_RX_v2.0_b001.ino:59:0: /home/gord/Arduino/libraries/BME280/src/BME280.h:43:7: note:   because the following virtual functions are pure within 'BME280': class BME280       ^ /home/gord/Arduino/libraries/BME280/src/BME280.h:264:17: note: virtual bool BME280::WriteRegister(uint8_t, uint8_t)    virtual bool WriteRegister(                 ^ /home/gord/Arduino/libraries/BME280/src/BME280.h:270:17: note: virtual bool BME280::ReadRegister(uint8_t, uint8_t*, uint8_t)    virtual bool ReadRegister(                 ^ /home/gord/Documents/WeatherDuino/WeatherDuino_Pro2_Compact/software/RX software/WeatherDuino_P2ESP8266_RX_v2.0_b001/Routines.ino: In function 'void ReadLocalSensors()': Routines:437:44: error: no matching function for call to 'BME280::ReadData(float&, float&, float&, bool, bool)'   bme.ReadData(pres, temp, humd, true, true);     // Parameters: (float& pressure, float& temp, float& humidity, bool hPa = true, bool celsius = false)                                            ^ /home/gord/Documents/WeatherDuino/WeatherDuino_Pro2_Compact/software/RX software/WeatherDuino_P2ESP8266_RX_v2.0_b001/Routines.ino:437:44: note: candidate is: In file included from /home/gord/Documents/WeatherDuino/WeatherDuino_Pro2_Compact/software/RX software/WeatherDuino_P2ESP8266_RX_v2.0_b001/WeatherDuino_P2ESP8266_RX_v2.0_b001.ino:59:0: /home/gord/Arduino/libraries/BME280/src/BME280.h:306:9: note: bool BME280::ReadData(int32_t*)    bool ReadData(         ^ /home/gord/Arduino/libraries/BME280/src/BME280.h:306:9: note:   candidate expects 1 argument, 5 provided Multiple libraries were found for "RH_ASK.h" Used: /home/gord/arduino-1.8.8/libraries/RadioHead_TeensyVersion Not used: /home/gord/arduino-1.8.8/libraries/RadioHead Not used: /home/gord/arduino-1.8.8/libraries/RadioHead Not used: /home/gord/arduino-1.8.8/libraries/RadioHead Not used: /home/gord/arduino-1.8.8/libraries/RadioHead Multiple libraries were found for "BME280.h" Used: /home/gord/Arduino/libraries/BME280 Not used: /home/gord/arduino-1.8.8/libraries/BME280 Multiple libraries were found for "ArduinoJson.h" Used: /home/gord/Arduino/libraries/ArduinoJson Not used: /home/gord/arduino-1.8.8/libraries/ArduinoJson exit status 1 no matching function for call to 'BME280::BME280()' This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Reply


Messages In This Thread
getting started problem - by WetCoast - 14-12-2018, 19:42
RE: getting started problem - by jarekh3 - 14-12-2018, 19:57
RE: getting started problem - by werk_ag - 14-12-2018, 21:19
RE: getting started problem - by jarekh3 - 14-12-2018, 21:45
RE: getting started problem - by werk_ag - 14-12-2018, 22:44
RE: getting started problem - by WetCoast - 14-12-2018, 23:39
RE: getting started problem - by jarekh3 - 14-12-2018, 23:45
RE: getting started problem - by WetCoast - 15-12-2018, 00:11
RE: getting started problem - by werk_ag - 15-12-2018, 00:18
RE: getting started problem - by WetCoast - 15-12-2018, 01:37
RE: getting started problem - by werk_ag - 15-12-2018, 01:51
RE: getting started problem - by werk_ag - 15-12-2018, 02:33
RE: getting started problem - by WetCoast - 15-12-2018, 02:34
RE: getting started problem - by werk_ag - 15-12-2018, 02:54



Users browsing this thread: 1 Guest(s)