07-27-2020 04:26 PM
Hello to all,
upgrading to Arduino 1.8.13 (zipped version), with Esp32 ver 1.0.4, I'm not be able to compile again the BSEC 1.5.1474 library.
The errors are:
"C:\\Users\\C9F25~1.DIC\\AppData\\Local\\Temp\\arduino_cache_259044\\core\\core_b91ab0bf4f23652df64766277370c95b.a" -lgcc -lesp32 -lphy -lesp_http_client -lmbedtls -lrtc -lesp_http_server -lbtdm_app -lspiffs -lbootloader_support -lmdns -lnvs_flash -lfatfs -lpp -lnet80211 -ljsmn -lface_detection -llibsodium -lvfs -ldl_lib -llog -lfreertos -lcxx -lsmartconfig_ack -lxtensa-debug-module -lheap -ltcpip_adapter -lmqtt -lulp -lfd -lfb_gfx -lnghttp -lprotocomm -lsmartconfig -lm -lethernet -limage_util -lc_nano -lsoc -ltcp_transport -lc -lmicro-ecc -lface_recognition -ljson -lwpa_supplicant -lmesh -lesp_https_ota -lwpa2 -lexpat -llwip -lwear_levelling -lapp_update -ldriver -lbt -lespnow -lcoap -lasio -lnewlib -lconsole -lapp_trace -lesp32-camera -lhal -lprotobuf-c -lsdmmc -lcore -lpthread -lcoexist -lfreemodbus -lspi_flash -lesp-tls -lwpa -lwifi_provisioning -lwps -lesp_adc_cal -lesp_event -lopenssl -lesp_ringbuf -lfr -lstdc++ -Wl,--end-group -Wl,-EL -o "C:\\Users\\C9F25~1.DIC\\AppData\\Local\\Temp\\arduino_build_444372/BME680_tst_v0.04_NO_WiFi.ino.elf"
C:\Users\C9F25~1.DIC\AppData\Local\Temp\arduino_build_444372\libraries\BSEC_Software_Library\bsec.cpp.o:(.literal._ZN4Bsec11beginCommonEv+0x4): undefined reference to `bsec_init'
C:\Users\C9F25~1.DIC\AppData\Local\Temp\arduino_build_444372\libraries\BSEC_Software_Library\bsec.cpp.o:(.literal._ZN4Bsec11beginCommonEv+0x8): undefined reference to `bsec_get_version'
And many others. I have attached the entire Log.
Can someone help me to find a solution to this error?
Many Thanks
Best Regards
Clemente
Solved! Go to Solution.
07-27-2020 05:58 PM
It looks like you have not modified your platform.txt file to include the necessary library flags/dependencies to the linker command. Please let us know if that solves the compilation errors, I have also recently shared an already modified platform.txt file here in another topic for reference.
07-27-2020 07:55 PM
07-27-2020 09:24 PM
Many thank handytech I used your platform.txt file and now is all working.
Best Regards
Clemente