This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CMake script for add eternal libaray ( BSEC ) to test Bosch sensor raeding?

hello,

i have downloaded    ( BSEC )    library from https://www.bosch-sensortec.com/software-tools/software/bsec/  for read sensor data . now want to test the code by build and flashing it with VS code for thingy 91 borad.

CMamke  file have 

FILE(GLOB bsec_integration src/*.c)

target_sources(app PRIVATE src/bsec_integration.c)
target_sources(app PRIVATE src/bme680.c)

i have add c file and header file in scr folder .

on build shows error 

FATAL ERROR: command exited with status 1: 'c:\Users\mohit\ncs\v1.9.1\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\Users\mohit\ncs\v1.9.1\toolchain\opt\bin\python.exe' '-Be:\Nordic_Acadmey\bsec_integration\build_1' '-Se:\Nordic_Acadmey\bsec_integration' -GNinja -DBOARD=thingy91_nrf9160 -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=NONE.

please suggest

Parents
  • sir , i have set the path of header file , but sample code have dependency of Configuration file ,I want set path for configuration folder  , can you please suggest the way. or is any person of your team how can can help me to do this  ???

    nordic  officially support Bosch Sensor data that's why i am trying  nordic thingy91  board . if there was no soliton available then why nordic says about support.  

Reply
  • sir , i have set the path of header file , but sample code have dependency of Configuration file ,I want set path for configuration folder  , can you please suggest the way. or is any person of your team how can can help me to do this  ???

    nordic  officially support Bosch Sensor data that's why i am trying  nordic thingy91  board . if there was no soliton available then why nordic says about support.  

Children
  • Mohit Nama said:
    but sample code have dependency of Configuration file

    What dependencies is that? Can you show me something, like a screenshot or a file?

    I am trying to help you with this, but I don't have your project or your files, and hence, I don't know how to reproduce the issues that you are seeing, and therefore, I don't know the solution yet.

    Best regards,

    Edvin

Related