Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use BSEC2 with esp32c3 #36

Open
Nuliel opened this issue Mar 24, 2024 · 0 comments
Open

can't use BSEC2 with esp32c3 #36

Nuliel opened this issue Mar 24, 2024 · 0 comments

Comments

@Nuliel
Copy link

Nuliel commented Mar 24, 2024

Hello,
I'm on ubuntu 22.04. I try to use BSEC2 lib on arduino IDE. So I followed the informations in README.md, but I'm stuck at compilation. By default, there are many errors (functions not found) because lib is not found. So I modified platform.txt like said on https://github.com/BoschSensortec/BSEC-Arduino-library#installation-and-getting-started to have
compiler.c.elf.extra_flags=-libalgobsec
but I have this error

/home/nuliel/.arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: cannot find -libalgobsec
collect2: error: ld returned 1 exit status

I can see the lib libalgobsec.a in ~/Arduino/libraries/Bosch-BSEC2-Library-1.7.2502/src/esp32c3 .
What should I do to be able to compile the basic example?
Sincerely,
Nuliel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant