I'm working with ESP-IDF in Visual Studio Code and trying to interface the BME688 sensor via I2C using a precompiled library
I have the precompiled binary and the corresponding header files, but I’m getting a "undefined reference" error when building the project.
I would like to know:
How to correctly link a precompiled library (
libalgobsec.a
file) in ESP-IDF (CMake)What folder structure should I follow?
How should I modify
CMakeLists.txt
andcomponent.mk
4.I am using ESP32 esp-idf v5.4 and bsec2-6-1-0_generic_release