Solved! Go to Solution.
These errors mean that your toolchain couldn't successfully find the BSEC library.
Some instructions we share (including about platform.txt) are meant for the Arduino IDE, which works differently than PlatformIO.
You would probably get the best help from PlatformIO directly, but it seems that you need to inform your toolchain about static libraries in a "platformio.ini" project configuration file, e.g. it may look something like this:
[env:specific_inclibs] build_flags = -I/path/to/bsec/headers_files/directory -L/path/to/bsec/libalgobsec.a/directory -lalgobsec
Thanks for your answer, this is my platform.ini
I will take the wild guess that your toolchain doesn't like spaces in your paths.
I would suggest to rename your folder "BSEC Software Library_ID6979" into something without spaces, or use quotes around paths including spaces.
Finally although it may be optional anyway, I expect the path to the library's header files to be by default under "\src\inc" instead of "\src\bme680".
Thank for that, making some progress.
I changed the name of the folder to one with no spaces
and I got
c:/users/pedro/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lalgobsec
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32\firmware.elf] Error 1
I tried commenting lalgobsec line on the build