Bosch Sensortec Community

    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

    New Poster


    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

    Community Moderator
    Community Moderator

    Hi bastler67,

    As you used BME688, recommend you download latest BSEC2 package from, refer readme file 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:


    The version 1.7.1492 is the same version as the 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, 


    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!




    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.