Errors ocurr when build configruation

I have no idea what happened cause it is my first time doing this. I suspect my environment has some problems but I am not sure whether it lead to these errors. I would be grateful if someone can help me with this, thanks, everyone!

Building IMSE_SmartMask_Firmware-master
C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build c:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master --pristine --board smartmask_nrf52840 --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DCONF_FILE:STRING="c:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/prj.conf" -DBOARD_ROOT:STRING="c:/users/jaspe/desktop/imse_smartmask_firmware-master""

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master
-- CMake version: 3.20.5
-- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache
-- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr)
-- Found west (found suitable version "1.0.0", minimum required is "0.7.1")
-- Board: smartmask_nrf52840
-- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/boards/arm/smartmask_nrf52840/smartmask_nrf52840.dts
-- Found devicetree overlay: C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/smartmask_nrf52840.overlay
'label' is marked as deprecated in 'properties:' in C:/ncs/v2.4.0/zephyr/dts/bindings\sensor\bosch,bme680-i2c.yaml for node /soc/i2c@40003000/bme680_0@76.
'label' is marked as deprecated in 'properties:' in C:/ncs/v2.4.0/zephyr/dts/bindings\sensor\bosch,bme680-i2c.yaml for node /soc/i2c@40003000/bme680_1@77.
'label' is marked as deprecated in 'properties:' in C:/ncs/v2.4.0/zephyr/dts/bindings\sensor\bosch,bmi160-i2c.yaml for node /soc/i2c@40003000/bmi160@68.
'label' is marked as deprecated in 'properties:' in C:/ncs/v2.4.0/zephyr/dts/bindings\serial\zephyr,cdc-acm-uart.yaml for node /soc/usbd@40027000/cdc_acm_uart0.
-- Generated zephyr.dts: C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/zephyr/dts.cmake
Parsing C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/Kconfig
Loaded configuration 'C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/boards/arm/smartmask_nrf52840/smartmask_nrf52840_defconfig'
Merged configuration 'c:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/prj.conf'
Merged configuration 'C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to 'C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/zephyr/.config'
Kconfig header saved to 'C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/zephyr/include/generated/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/ncs/v2.4.0/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
CONFIG_USB_DEVICE_VID has default value 0x2FE3.

This value is only for testing and MUST be configured for USB products.


CMake Warning at C:/ncs/v2.4.0/zephyr/subsys/usb/device/CMakeLists.txt:28 (message):
CONFIG_USB_DEVICE_PID has default value 0x100.

This value is only for testing and MUST be configured for USB products.


CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
No SOURCES given to Zephyr library: lib__libc__common

Excluding target from build.


Config BSEC
BSEC Lib: C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/src/ext_sensors/../../lib/bsec/algo/normal_version/bin/gcc/Cortex_M4F
CMake Error at C:/ncs/v2.4.0/zephyr/cmake/modules/extensions.cmake:2161 (message):
Assertion failed: Could not find BSEC library. Minimum version is
1.4.8.0_Generic_Release
Call Stack (most recent call first):
src/ext_sensors/CMakeLists.txt:24 (assert)


-- Configuring incomplete, errors occurred!
See also "C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/build/CMakeFiles/CMakeError.log".
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\31f4403e35\opt\bin\cmake.EXE' '-DWEST_PYTHON=C:\ncs\toolchains\31f4403e35\opt\bin\python.exe' '-Bc:\Users\jaspe\Desktop\IMSE_SmartMask_Firmware-master\build' -GNinja -DBOARD=smartmask_nrf52840 -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DCONF_FILE:STRING=c:/Users/jaspe/Desktop/IMSE_SmartMask_Firmware-master/prj.conf -DBOARD_ROOT:STRING=c:/users/jaspe/desktop/imse_smartmask_firmware-master '-Sc:\Users\jaspe\Desktop\IMSE_SmartMask_Firmware-master'

Related