Serial lTE Modem example: FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE' --build 'c:\Users\NTMK1\Documents\Project\Apps\serial_lte_modem\build'

Hi,

I am trying to build the Serial lTE Modem example from SDK directory C:\ncs\v2.5.1\nrf\applications\serial_lte_modem in VScode then resulting the error:

-- Found Python3: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe (found suitable version "3.8.2", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.5.1/zephyr/.cache
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/NTMK1/Documents/GunfireTracker/Apps/serial_lte_modem/build/tfm
[17/405] No configure step for 'tfm'
FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf
cmd.exe /C "cd /D C:\Users\NTMK1\Documents\GunfireTracker\Apps\serial_lte_modem\build\mcuboot && C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe --build . --"
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE' --build 'c:\Users\NTMK1\Documents\GunfireTracker\Apps\serial_lte_modem\build'

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

 

However, I tried different application such as tfm_hello_world and was the same I got the error:

FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE' --build 'c:\Users\NTMK1\Documents\GunfireTracker\Apps\tfm_hello_world\build'

My SDK version is v2.5.1.

Does any software environment setup or cmake configuration being wrong?

Related