I am using the BME680 with the ESP32-PoE and I want to use the BSEC library to get the IAQ. I have been stuck at the last step of linking the pre-built libalgobsec.a library. This is what my CMakeLists file in my BSEC components folder looks like:
set(COMPONENT_SRCS "bme680.c"
"bsec_integration.c")
set(COMPONENT_ADD_INCLUDEDIRS "include")
register_component()
add_library(algobsec STATIC IMPORTED)
set_property(TARGET algobsec PROPERTY IMPORTED_LOCATION ../lib/libalgobsec.a)
I have not done the 3 steps for linking as stated in the Integration Guide as I do not know where to find the files to which I need to make changes. I am currently getting this error when I build the project:
I would really appreciate any help to get the library running. Thank you!