Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 and ESP32 2.01

    BME680 and ESP32 2.01

    jedimaster64
    Member

    Recently, the ESP32 Arduino 2.01 has been released. I used to use the BSEC library successfully in Arduino with ESP32 Arduino 1.06. But the update seems to have broken things. When compiling I get pages full of errors, like:

    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec11beginCommonEv+0x4): undefined reference to `bsec_init'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec11beginCommonEv+0x8): undefined reference to `bsec_get_version'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec18updateSubscriptionEP21bsec_virtual_sensor_thf+0x0): undefined reference to `bsec_update_subscription'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec8getStateEPh+0x0): undefined reference to `bsec_get_state'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec8setStateEPh+0x10): undefined reference to `bsec_set_state'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec9setConfigEPKh+0x0): undefined reference to `bsec_set_configuration'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec15readProcessDataEx19bsec_bme_settings_t+0xc): undefined reference to `bsec_do_steps'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o):(.literal._ZN4Bsec3runEx+0x0): undefined reference to `bsec_sensor_control'
    /private/var/folders/dh/fhbf_d_j3_v9w2f6np0lz70h0000gn/T/arduino-sketch-A40600CE8733E404BAA5081A88D3D31E/libraries/BSEC_Software_Library/BSEC_Software_Library.a(bsec.cpp.o): In function `Bsec::beginCommon()':

    Is this a known problem and/or how can I fix this?

     

     

    10 REPLIES 10

    BSTRobin
    Community Moderator
    Community Moderator

    Hello jedimaster64,

    Where is BSEC software you used for Arduino?

    I'm not sure I understood the question. I installed BSEC library directly from Arduino library manager. This worked well across Arduino ESP32 1.04, 1.05, 1.06 versions. But now suddenly with the update to 2.01 (from Arduino Board Manager), something seems to be broken, Compilation starts with the normal 'BSEC uses pre-compiled library' but after a few seconds I get pages full of linking and definition errors. Besides the BSEC library, I have no problems with other libraries.

    Did anyone else already update to Arduino ESP32 2.01?

    There was BSEC example code for Arduino project, you could download it from here: https://www.bosch-sensortec.com/software-tools/software/bme688-software/

    BSEC 2.x.png

    Oh, I am sorry, maybe I was not clear. I was not talking about BSEC 2.0 software but about ESP32 MCU 2.0 Arduino framework libraries.

    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