Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#1 Post by Dondolo » 22 Nov 2020, 17:00

Hello,

I wanted to install the plugin 119 for the BME680 with the Arduino IDE.
When compiling the editor in plug-in 119 gets stuck with the following error message:

'SENSOR_TYPE_QUAD' was not declared in this scope

The line in the plugin is:

Device [deviceCount] .VType = SENSOR_TYPE_QUAD;

I didn't find anything really right in google, does anyone have an idea?

Greetings Dondolo

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#2 Post by TD-er » 22 Nov 2020, 17:10

Add this prefix:
Sensor_VType::

Code: Select all

Device [deviceCount] .VType = Sensor_VType::SENSOR_TYPE_QUAD;
Also don't forget to use this include at the beginning:

Code: Select all

#include "_Plugin_Helper.h"
#ifdef USES_P119
and if the #ifdef isn't there in the current file, make sure to add

Code: Select all

#endif
at the end.

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#3 Post by Dondolo » 22 Nov 2020, 17:52

TD-er wrote: 22 Nov 2020, 17:10 Add this prefix:
Sensor_VType::

Code: Select all

Device [deviceCount] .VType = Sensor_VType::SENSOR_TYPE_QUAD;
Also don't forget to use this include at the beginning:

Code: Select all

#include "_Plugin_Helper.h"
#ifdef USES_P119
and if the #ifdef isn't there in the current file, make sure to add

Code: Select all

#endif
at the end.
Hi TD-er,

Thanks for the super fast response.

I added the four lines in the plugin 119 file and
I just get the following error message:

In file included from E:\arduino-1.8.13-windows\examples\ESPeasy\ESPEasy.ino:13:0:
ESPEasy_common.h:52:45: fatal error: src/CustomBuild/ESPEasyDefaults.h: No such file or directory
#include "src/CustomBuild/ESPEasyDefaults.h"
^
compilation terminated.
exit status 1
src/CustomBuild/ESPEasyDefaults.h: No such file or directory

User avatar
Ath
Normal user
Posts: 3494
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#4 Post by Ath » 22 Nov 2020, 17:59

Did you put the _P119...ino file in the src subdirectory of ESPEasy? (next to all the other _Pxxx .ino files, in the playground they are in the root of the project, but in the mega build they need to be in the src directory)
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#5 Post by TD-er » 22 Nov 2020, 18:03

Looks like you may have an incomplete set of sources?
If you don't set the USES_P119, can you build the sources in your build setup?

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#6 Post by Dondolo » 22 Nov 2020, 20:55

If I understood the question correctly, then yes.
I can use the version: mega-20201102
compile without errors.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#7 Post by TD-er » 22 Nov 2020, 22:46

Can you have a look at the files for this PR I just made?
https://github.com/letscontrolit/ESPEasy/pull/3386

N.B. I also added this library: https://github.com/adafruit/Adafruit_BME680

I renamed the plugin ID to P106

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#8 Post by Dondolo » 23 Nov 2020, 18:43

Hi, I really don't know what to do. I tried the modified library and plugin 106 and it doesn't work.
I gave it up for now. Maybe the BME680 sensor is there somewhere.

Thanks for the support and until then.

Dondolo

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#9 Post by TD-er » 23 Nov 2020, 20:09

What kind of build do you need?
4M flash?
ESP8266?

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#10 Post by Dondolo » 24 Nov 2020, 17:12

this version would have been heard

ESP_Easy_mega_20201022_normal_ESP8266_4M1M

Dondolo

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#11 Post by TD-er » 24 Nov 2020, 21:21

Dondolo wrote: 24 Nov 2020, 17:12 this version would have been heard

ESP_Easy_mega_20201022_normal_ESP8266_4M1M

Dondolo
I made a complete test build for the PR:
https://www.dropbox.com/s/ho9s2khkqnx21 ... 6.zip?dl=0
https://www.dropbox.com/s/5wounjmf8z58x ... 6.zip?dl=0

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#12 Post by Dondolo » 25 Nov 2020, 19:21

TD-er wrote: 24 Nov 2020, 21:21
Dondolo wrote: 24 Nov 2020, 17:12 this version would have been heard

ESP_Easy_mega_20201022_normal_ESP8266_4M1M

Dondolo
I made a complete test build for the PR:
https://www.dropbox.com/s/ho9s2khkqnx21 ... 6.zip?dl=0
https://www.dropbox.com/s/5wounjmf8z58x ... 6.zip?dl=0
Hi TD-er,

Thanks for the great support, unfortunately I cannot install the version with the Aduino IDE either.

The following error message stops the compilation:
G:\ESPEasy_ESP82xx_mega-20201102-115-PR_3386\source\src\ESPEasy\ESPEasy.ino:13:28: fatal error: ESPEasy_common.h: No such file or directory

#include "ESPEasy_common.h"

I've used the flasher in the past and it works great.
I can't get any further with the IDE.

Kannst Du vielleicht eine Datei (ESP_Easy_mega_20201124_normal_ESP8266_4M1M.bin) zur Verfügung stellen in der dem BME680 implentiert ist?

Please excuse my ignorance
Greetings Dondolo

User avatar
Ath
Normal user
Posts: 3494
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#13 Post by Ath » 25 Nov 2020, 20:07

Dondolo wrote: 25 Nov 2020, 19:21
...
Kannst Du vielleicht eine Datei (ESP_Easy_mega_20201124_normal_ESP8266_4M1M.bin) zur Verfügung stellen in der dem BME680 implentiert ist?
The link to the download of a test-build is in the part you quoted...
You will need an ESP_Ease_mega...test...ESP8266_4M1M.bin file to get the BME680 plugin, it works like the 'normal' build, though it might use a bit more memory because of the ~40 extra plugins available. Fully compatible to upgrade a current installation, using the 'Firmware update' button on the Tools tab.
/Ton (PayPal.me)

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope

#14 Post by Dondolo » 26 Nov 2020, 08:36

Ath wrote: 25 Nov 2020, 20:07
Dondolo wrote: 25 Nov 2020, 19:21
...
Kannst Du vielleicht eine Datei (ESP_Easy_mega_20201124_normal_ESP8266_4M1M.bin) zur Verfügung stellen in der dem BME680 implentiert ist?
The link to the download of a test-build is in the part you quoted...
You will need an ESP_Ease_mega...test...ESP8266_4M1M.bin file to get the BME680 plugin, it works like the 'normal' build, though it might use a bit more memory because of the ~40 extra plugins available. Fully compatible to upgrade a current installation, using the 'Firmware update' button on the Tools tab.
Hi, yes wonderful, I actually got it to run without any problems, thank you very much.
I hadn't flashed the "Test.Version".
Thanks again and let's see how the BME680 continues.
Greetings Dondolo

Post Reply

Who is online

Users browsing this forum: No registered users and 90 guests