This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

create_nordic_project.py failed (1)

When I open the nrf connect sdk project, it goes like this,

How can I fix it?

Creating solution direction_finding_connectionless_rx.emProject
cmake -GNinja -DBOARD=nrf52833dk_nrf52833 -DBOARD_DIR=C:\Users\Marcous\ncs\v1.6.0\zephyr\boards\arm\nrf52833dk_nrf52833 -BC:\Users\Marcous\ncs\v1.6.0\nrf\samples\bluetooth\direction_finding_connectionless_rx\build_nrf52833dk_nrf52833 -SC:\Users\Marcous\ncs\v1.6.0\nrf\samples\bluetooth\direction_finding_connectionless_rx -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:\Users\Marcous\ncs\v1.6.0\toolchain\opt -DPYTHON_EXECUTABLE=C:/Users/Marcous/ncs/v1.6.0/toolchain/opt/bin/python.exe -DCMAKE_MAKE_PROGRAM=C:/Users/Marcous/ncs/v1.6.0/toolchain/opt/bin/ninja.exe -DDTC=C:/Users/Marcous/ncs/v1.6.0/toolchain/opt/bin/dtc.exe -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Users\Marcous\ncs\v1.6.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: C:/Users/Marcous/ncs/v1.6.0/nrf/samples/bluetooth/direction_finding_connectionless_rx
-- Zephyr version: 2.6.0-rc1 (C:/Users/Marcous/ncs/v1.6.0/zephyr), build: v2.6.0-rc1-ncs1
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base (cached)): C:/Users/Marcous/ncs/v1.6.0/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.6.0 for building. (C:/Users/Marcous/ncs/v1.6.0/toolchain/cmake)
CMake Error at C:/Users/Marcous/ncs/v1.6.0/zephyr/cmake/zephyr_module.cmake:61 (message):
Unmet or cyclic dependencies in modules:

C:/Users/Marcous/ncs/v1.6.0/nrfxlib depends on: ['hal_nordic']

C:/Users/Marcous/ncs/v1.6.0/modules/lib/matter depends on: ['nrfxlib',
'openthread']

Call Stack (most recent call first):
C:/Users/Marcous/ncs/v1.6.0/zephyr/cmake/app/boilerplate.cmake:183 (include)
C:/Users/Marcous/ncs/v1.6.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/Users/Marcous/ncs/v1.6.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:8 (find_package)

error: cmake failed
create_nordic_project.py failed (1)

Parents Reply Children
  • Hi,

    We recommend installing NCS directly under C:/ if possible, as having it under a user directory can cause issues because of the path length. Please try to install it there instead of under the user directory and see if that fixes the issue.

    If this does not solve the issue, can you tell me a bit more about your problem? Does this only happen with the direction finding connectionless locator sample, or does it happen with all samples? Have you made any changes to the sample or your NCS installation, or does it happen with a clean install of NCS?

    Best regards,

    Marte

Related