Building nrf5340_AD9833
C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir d:/nrf5340_AD9833/build d:/nrf5340_AD9833"
-- west build: generating a build system
Including boilerplate (Zephyr base (cached)): D:/ncs/v1.9.1/zephyr/cmake/app/boilerplate.cmake
-- Application: D:/nrf5340_AD9833
-- Zephyr version: 2.7.99 (D:/ncs/v1.9.1/zephyr), build: v2.7.99-ncs1-1
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpuapp
-- Cache files will be written to: D:/ncs/v1.9.1/zephyr/.cache
CMake Error at D:/ncs/v1.9.1/zephyr/cmake/verify-toolchain.cmake:70 (find_package):
Could not find a package configuration file provided by "Zephyr-sdk"
(requested version 0.13.1) with any of the following names:
Zephyr-sdkConfig.cmake
zephyr-sdk-config.cmake
Add the installation prefix of "Zephyr-sdk" to CMAKE_PREFIX_PATH or set
"Zephyr-sdk_DIR" to a directory containing one of the above files. If
"Zephyr-sdk" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
D:/ncs/v1.9.1/zephyr/cmake/app/boilerplate.cmake:520 (include)
D:/ncs/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
D:/ncs/v1.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'd:\ncs\v1.9.1\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=d:\ncs\v1.9.1\toolchain\opt\bin\python.exe' '-Bd:\nrf5340_AD9833\build' '-Sd:\nrf5340_AD9833' -GNinja
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
For weeks I've tried to reinstall the SDK and toolchain again and again following the official guidance and some other tutorial documents. But this problem still exists. And I was anxiously wondering where the problem lies.
Your timely help is genuinely appreciated!