Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    bsec_datatypes.h not found in arduino example for BSEC Library version 1.7.1492

    bsec_datatypes.h not found in arduino example for BSEC Library version 1.7.1492

    bastler67
    New Poster

    Hi,

    I'm working with a BME688 Sensor from Adafruit and:

    - Arduino IDE 1.8.13

    - Arduino Nano IOT33 (SAMD, Cortex M0+)

    - BSEC Library version 1.7.1492

    - "basic" demo provided with the BSEC library

     

    If I compile the demo, I get the error:

    Arduino\libraries\BSEC_Software_Library\src/bsec.h:46:10: fatal error: bsec_datatypes.h: No such file or directory

    I tried to change the #include "bsec_datatypes.h" in file bsec.h to "#include "inc/bsec_datatypes.h"", what kind of works, but then other references are not found.

    For me it seems like the path "BSEC_Software_Library\src\inc" is somehow not defined for the demos 

     

    The same demo for the BSEC Lib Version 1.6.1480 can be compiled without such errors

    (but I see a fixed gas resistance there... that's why I need the update) 

     

    Hope for your help 🙂

    4 REPLIES 4

    BSTRobin
    Community Moderator
    Community Moderator

    Hi bastler67,

    As you used BME688, recommend you download latest BSEC2 package from https://www.bosch-sensortec.com/software-tools/software/bme688-software, refer readme file https://github.com/boschsensortec/BSEC-Arduino-library/blob/master/README.md to migrate BME688 BSEC2 Arduino project to project.

    BSEC2.2.0.0 download.png

    Dear BSTRobin,

    Thank you for your reply but now I'm a bit confused...

    I used the Arduino IDE Library manager to update to 1.7.1492, what is supposed to do the job already out of the box:

    bastler67_0-1675666033367.png

    The version 1.7.1492 is the same version as the Readme.md file you referred to in your reply references...

    (I used the BSEC Lib version 1.6.1480 before that does not show such build issues)

     

    Can it be that the update package that Bosch provides here does not work for my SAMD Cortex M0+ Target (Arduino Nano IOT 33)

    If so, I will not be the last one running into this 🙂

    I intent to integrate the BME688 in a larger project I have (a bit more than 10k lines of code), so I would like to avoid manipulation project/make configuration manually... quite a risk for side effects...

     Can you please confirm that the Lib Version update from 1.6.1480 to 1.7.1492 via the arduino library manager works as expected to SAMD Cortex M0+ Targets?

    Thank you very much in advance, regards, 

    bastler67

    Dear BSTRobin,

    are there any news on your side?

    I'm still stuck with running the Demo with the latest library version provided by Bosch... please help!

    Regards

     

     

    BSTRobin
    Community Moderator
    Community Moderator

    Hi bastler67,

    We do not recommend using the old software version. ARM Cortex M0+ librarie is already supported in the BSEC2 package. You can select different libraries according to the compiler used.

     

    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