I go this error attempting to build the nrf9160 tracker sample code:
Could NOT find Dtc (missing: DTC) (Required is at least version “1.4.6”)
Any ideas on how to fix this? I am new to all things nrf9160 and Zephyr.
Here is the full output from the build command:
* Executing task: west build -b circuitdojo_feather_nrf9160_ns
-- west build: generating a build system
-- Build type: debug 🚀
-- Backend: golioth 🎒
-- Version: 0.1.4-70-gf802216
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/micha/Zephyr Build/nfed/samples/tracker
-- Found Python3: C:/Users/micha/.zephyrtools/env/Scripts/python.exe (found suitable exact version "3.11.2") found components: Interpreter
-- Cache files will be written to: C:/Users/micha/Zephyr Build/zephyr/.cache
-- Zephyr version: 3.2.99 (C:/Users/micha/Zephyr Build/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160_ns
-- Found host-tools: zephyr 0.15.1 (C:/Users/micha/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- Found toolchain: zephyr 0.15.1 (C:/Users/micha/.zephyrtools/toolchain/zephyr-sdk-0.15.1)
-- **Could NOT find Dtc (missing: DTC) (Required is at least version "1.4.6")**
-- Found BOARD.dts: C:/Users/micha/Zephyr Build/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns.dts
-- Found devicetree overlay: C:/Users/micha/Zephyr
-- Found devicetree overlay: Build/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.overlay
<command-line>: fatal error: C:/Users/micha/Zephyr: No such file or directory
compilation terminated.
CMake Error at C:/Users/micha/Zephyr Build/zephyr/cmake/modules/dts.cmake:191 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/Users/micha/Zephyr Build/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
C:/Users/micha/Zephyr Build/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/Users/micha/Zephyr Build/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:74 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Users\micha\.zephyrtools\cmake\cmake-3.22.0-windows-x86_64\bin\cmake.EXE' '-DWEST_PYTHON=C:\Users\micha\.zephyrtools\env\Scripts\python.exe' '-BC:\Users\micha\Zephyr Build\nfed\samples\tracker\build' -GNinja -DBOARD=circuitdojo_feather_nrf9160_ns '-SC:\Users\micha\Zephyr Build\nfed\samples\tracker'
* The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command west build -b circuitdojo_feather_nrf9160_ns" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.