05-23-2020 02:31 PM - edited 05-24-2020 10:37 AM
Solved! Go to Solution.
02-22-2021 11:34 PM
Dear,
I have been using bme680 successfully on thingspeak using third party libraries to test iaq index rating on covid19 masks in my country following the N95 standard where i inserted a bme680 chip.
during the tests, although the humidity exceeds 80%, which is very bad, the IAQ drops from 92 to 50 when I use the mask.
As the algorithm makes a weighting (umidity score & gas score) I believe that the IAQ should plummet (increase the number in a range from zero to 500) and not decrease, when the humidity almost suffocates me besides embarrassing my glasses, another torment that me motivated to test the mask.
That said, I decided to test the BSEC library but I can't compile, on windows and ubuntu, as the same error.
Only on windows can I find the file for platform.txt to change, but still, nothing ..
I will be very happy to be able to run the bsec library to have another parameter of air quality in masks until I find a combination of comfort and reliable IAQ index rating.
Tks
JSS
-----------------------------------------------------------------------------------------------
Arduino: 1.8.14 Hourly Build 2020/12/15 11:33 (Windows 10), Placa:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Library BSEC-Arduino-library-master has been declared precompiled:
Using precompiled library in C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src\esp8266
The platform does not support 'compiler.libraries.ldflags' for precompiled libraries.
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::i2cRead(unsigned char, unsigned char, unsigned char*, unsigned short)':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:551: undefined reference to `bsec_init'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:560: undefined reference to `bsec_get_version'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::beginCommon()':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:154: undefined reference to `bsec_init'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:157: undefined reference to `bsec_get_version'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::begin(unsigned char, TwoWire&, void (*)(unsigned int))':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:99: undefined reference to `bsec_update_subscription'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::updateSubscription(bsec_virtual_sensor_t*, unsigned char, float)':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:180: undefined reference to `bsec_update_subscription'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o):(.text._ZN4Bsec8setStateEPh+0x4): undefined reference to `bsec_set_state'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::setState(unsigned char*)':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:286: undefined reference to `bsec_set_state'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o):(.text._ZN4Bsec15readProcessDataEx19bsec_bme_settings_t+0x1c): undefined reference to `bsec_do_steps'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::readProcessData(long long, bsec_bme_settings_t)':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:376: undefined reference to `bsec_do_steps'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::getTimeMs()':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:521: undefined reference to `bsec_sensor_control'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o):(.text._ZN4Bsec3runEx+0x4): undefined reference to `bsec_get_state'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\BSEC-Arduino-library-master\BSEC-Arduino-library-master.a(bsec.cpp.o): in function `Bsec::run(long long)':
C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:189: undefined reference to `bsec_init'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:200: undefined reference to `bsec_update_subscription'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:209: undefined reference to `bsec_sensor_control'
c:/users/jose.sobrinho/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\jose.sobrinho\Documents\Arduino\libraries\BSEC-Arduino-library-master\src/bsec.cpp:242: undefined reference to `bsec_get_state'
collect2.exe: error: ld returned 1 exit status
exit status 1
Erro compilando para a placa NodeMCU 1.0 (ESP-12E Module)
Este relatório teria mais informações com
"Mostrar a saida detalhada durante a compilação"
opção pode ser ativada em "Arquivo -> Preferências"
07-22-2024 06:08 PM
ti try to make it work on IDE 2.3.2 and it doesn't. I tryed out all suggestion i found, but nothing helps. Could someone point me to the solution?