Hi, I am trying to interface BSEC2 with ESP32 feather which along with my BME688 Dev kit and I am facing the same issue. I am getting the error below. I have followed all the steps and finally replaced the platform text with one given in this thread. I am still facing the same issue. I have checked that all these functions are defined in the library and there is no error with the included library file. Can you help? I am trying to run the basic_config_state.ino found in the example for BME688 dev kit. c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\basic_config_state.ino.cpp.o: in function `Bsec::getVersion()': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.h:186: undefined reference to `bsec_get_version' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.h:186: undefined reference to `bsec_get_version' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.h:186: undefined reference to `bsec_get_version' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.h:186: undefined reference to `bsec_get_version' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec11beginCommonEv+0x0): undefined reference to `bsec_init' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec18updateSubscriptionEP21bsec_virtual_sensor_thf+0x0): undefined reference to `bsec_update_subscription' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec18updateSubscriptionEP21bsec_virtual_sensor_thf+0x4): undefined reference to `bme68x_init' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec8getStateEPh+0x0): undefined reference to `bsec_get_state' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec8setStateEPh+0x0): undefined reference to `bsec_set_state' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec9setConfigEPKh+0x10): undefined reference to `bsec_set_configuration' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec11processDataExRK11bme68x_data+0x0): undefined reference to `bsec_do_steps' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec21setBme68xConfigForcedEv+0x0): undefined reference to `bme68x_set_conf' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec21setBme68xConfigForcedEv+0x4): undefined reference to `bme68x_set_heatr_conf' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec21setBme68xConfigForcedEv+0x8): undefined reference to `bme68x_set_op_mode' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec23setBme68xConfigParallelEv+0x4): undefined reference to `bme68x_get_meas_dur' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec3runEv+0x0): undefined reference to `bsec_sensor_control' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o:(.literal._ZN4Bsec3runEv+0x4): undefined reference to `bme68x_get_data' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::beginCommon()': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:60: undefined reference to `bsec_init' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:125: undefined reference to `bsec_get_version' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::updateSubscription(bsec_virtual_sensor_t*, unsigned char, float)': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:151: undefined reference to `bsec_update_subscription' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:155: undefined reference to `bme68x_init' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::getState(unsigned char*)': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:244: undefined reference to `bsec_get_state' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::setState(unsigned char*)': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:257: undefined reference to `bsec_set_state' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::setConfig(unsigned char const*)': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:274: undefined reference to `bsec_set_configuration' Multiple libraries were found for "EEPROM.h" Used: C:\Users\Arun.Sharma\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\libraries\EEPROM Not used: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021 c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::processData(long long, bme68x_data const&)': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:335: undefined reference to `bsec_do_steps' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::setBme68xConfigForced()': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:358: undefined reference to `bme68x_set_conf' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:372: undefined reference to `bme68x_set_heatr_conf' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:376: undefined reference to `bme68x_set_op_mode' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::setBme68xConfigSleep()': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:388: undefined reference to `bme68x_set_op_mode' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::setBme68xConfigParallel()': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:408: undefined reference to `bme68x_set_conf' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:414: undefined reference to `bme68x_get_meas_dur' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:422: undefined reference to `bme68x_set_heatr_conf' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:426: undefined reference to `bme68x_set_op_mode' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\BSEC_2.0.6.1_Generic_Release_04302021\bsec.cpp.o: in function `Bsec::run()': C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:173: undefined reference to `bsec_sensor_control' c:/users/arun.sharma/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Arun.Sharma\OneDrive - SharkNinja\Documents\ESP32\libraries\BSEC_2.0.6.1_Generic_Release_04302021/bsec.cpp:201: undefined reference to `bme68x_get_data' collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board Adafruit ESP32 Feather.
... View more