Hello all,
I followed the Getting Started Assistant for Linux (I'm on Pop OS 22.04 based on Ubuntu). Building with VS-Code and Segger is working.
I want to use Clion for Development since I'm more experienced with it.
To archive this i followed this Guide: https://blog.jetbrains.com/clion/2021/04/using-nrf52-with-cmake-connect-sdk/
After reloading Cmake i get the same Error i got when i want to build a sample with "west build -b nrf52840dk_nrf52840 samples/hello_world":
schmid@pop-os:~/Documents/nordic/ncs/zephyr$ west build -b nrf52840dk_nrf52840 samples/hello_world
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/schmid/Documents/nordic/ncs/zephyr/samples/hello_world
-- Cache files will be written to: /home/schmid/.cache/zephyr
-- Zephyr version: 3.0.99 (/home/schmid/Documents/nordic/ncs/zephyr)
-- Found west (found suitable version "0.13.1", minimum required is "0.7.1")
-- Board: nrf52840dk_nrf52840
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
CMake Error at /home/schmid/Documents/nordic/ncs/zephyr/cmake/modules/verify-toolchain.cmake:84 (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):
/home/schmid/Documents/nordic/ncs/zephyr/cmake/modules/zephyr_default.cmake:121 (include)
/home/schmid/Documents/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:51 (include)
/home/schmid/Documents/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:81 (include_boilerplate)
CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
I found this on Google but it couldn't help me: https://githublab.com/repository/issues/zephyrproject-rtos/docker-image/83
Thanks for any Help,
Philipp