Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BME680 on Arduino ESP32 compilation problem

    clemente
    Member

    BME680 on Arduino ESP32 compilation problem

    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

     

    Tags (2)
    3 REPLIES 3
    handytech
    Community Moderator

    Re: BME680 on Arduino ESP32 compilation problem

    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.

    clemente
    Member

    Re: BME680 on Arduino ESP32 compilation problem

    Many thanks, I Will try soon your indication.
    clemente
    Member

    Re: BME680 on Arduino ESP32 compilation problem

    Many thank  handytech 

     

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist