This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to build nrf9160DK sample app, unmet dependencies

Hi,

I am trying to build the 'at_client' nRF9160DK sample app on a Mac and getting the following error:

CMake Error at /opt/nordic/ncs/v2.0.0/zephyr/cmake/modules/zephyr_module.cmake:78 (message):

  Unmet or cyclic dependencies in modules:

  /opt/nordic/ncs/v2.0.0/nrfxlib depends on: ['hal_nordic']

  /opt/nordic/ncs/v2.0.0/modules/lib/matter depends on: ['nrfxlib',

  'openthread']


Call Stack (most recent call first):

  /opt/nordic/ncs/v2.0.0/zephyr/cmake/modules/zephyr_default.cmake:121 (include)

  /opt/nordic/ncs/v2.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:51 (include)

  /opt/nordic/ncs/v2.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:81 (include_boilerplate)

  CMakeLists.txt:9 (find_package)

I have tried building it from VS Code and also from the command line with the same result.

Note that when I built from the command line, I had to run 'west init' and 'west update' first before it would let me run 'west build'.

I have also tried building one other sample app with the same error.

Any ideas what is going on?

Thanks

Greg

Parents
  • Hi Greg,

    It seems like the SDK was not installed completely, as you are missing some of the repositories. Did you install using the Toolchain Manager? We have had some reports of the installation stopping at some point when using Toolchain Manager on macOS. In those cases what solved the issue was to close the Toolchain Manager, reopen it, and then select "Update SDK" from the dropdown menu. Can you test if this solves the issue for you?

    Best regards,

    Marte

Reply
  • Hi Greg,

    It seems like the SDK was not installed completely, as you are missing some of the repositories. Did you install using the Toolchain Manager? We have had some reports of the installation stopping at some point when using Toolchain Manager on macOS. In those cases what solved the issue was to close the Toolchain Manager, reopen it, and then select "Update SDK" from the dropdown menu. Can you test if this solves the issue for you?

    Best regards,

    Marte

Children
No Data
Related