Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
Moderators: grovkillen, Stuntteam, TD-er
Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
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
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
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
Add this prefix:
Sensor_VType::
Also don't forget to use this include at the beginning:
and if the #ifdef isn't there in the current file, make sure to add
at the end.
Sensor_VType::
Code: Select all
Device [deviceCount] .VType = Sensor_VType::SENSOR_TYPE_QUAD;
Code: Select all
#include "_Plugin_Helper.h"
#ifdef USES_P119
Code: Select all
#endif
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
Hi TD-er,TD-er wrote: ↑22 Nov 2020, 17:10 Add this prefix:
Sensor_VType::
Also don't forget to use this include at the beginning:Code: Select all
Device [deviceCount] .VType = Sensor_VType::SENSOR_TYPE_QUAD;
and if the #ifdef isn't there in the current file, make sure to addCode: Select all
#include "_Plugin_Helper.h" #ifdef USES_P119
at the end.Code: Select all
#endif
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
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
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)
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
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?
If you don't set the USES_P119, can you build the sources in your build setup?
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
If I understood the question correctly, then yes.
I can use the version: mega-20201102
compile without errors.
I can use the version: mega-20201102
compile without errors.
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
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
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
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
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
I gave it up for now. Maybe the BME680 sensor is there somewhere.
Thanks for the support and until then.
Dondolo
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
What kind of build do you need?
4M flash?
ESP8266?
4M flash?
ESP8266?
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
this version would have been heard
ESP_Easy_mega_20201022_normal_ESP8266_4M1M
Dondolo
ESP_Easy_mega_20201022_normal_ESP8266_4M1M
Dondolo
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
Hi TD-er,TD-er wrote: ↑24 Nov 2020, 21:21I 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
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
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
The link to the download of a test-build is in the part you quoted...Dondolo wrote: ↑25 Nov 2020, 19:21...TD-er wrote: ↑24 Nov 2020, 21:21 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
Kannst Du vielleicht eine Datei (ESP_Easy_mega_20201124_normal_ESP8266_4M1M.bin) zur Verfügung stellen in der dem BME680 implentiert ist?
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)
Re: Error message plugin 119 BME680 -SENSOR_TYPE_QUAD' was not declared in this scope
Hi, yes wonderful, I actually got it to run without any problems, thank you very much.Ath wrote: ↑25 Nov 2020, 20:07The link to the download of a test-build is in the part you quoted...Dondolo wrote: ↑25 Nov 2020, 19:21...TD-er wrote: ↑24 Nov 2020, 21:21 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
Kannst Du vielleicht eine Datei (ESP_Easy_mega_20201124_normal_ESP8266_4M1M.bin) zur Verfügung stellen in der dem BME680 implentiert ist?
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.
I hadn't flashed the "Test.Version".
Thanks again and let's see how the BME680 continues.
Greetings Dondolo
Who is online
Users browsing this forum: No registered users and 53 guests