nRF Connect CLI Build - CMake Error

I am attempting to build a project off of the XXX template repository. So far I have gotten the workspace set up and am now attempting to run "west build" but I get the below error. This looks like CMake just can't find a custom zephyr module/plugin but I can't seem to find help anywhere for pointing CMake at the right *.cmake files. Am I missing something? Thanks!

  • Hi Daniel,

    It would be great to get more details.

    Is it possible to attach the entire log along with the error that you get?

    Which sample are you trying to build? Which SDK and Toolchain version?

    Regards,

    Priyanka

  • Sure! I am using v2.6.1 of the toolchain and the SDK. This error occurs for any of the builds I attempt to run from the command line that uses the template/structure found in https://github.com/nrfconnect/ncs-example-application. I have also already set up the environment using "nrfutil toolchain-manager launch --shell"

    Thanks!

  • Thank you for the details. I will have to discuss this internally and will get back to you.

    Also, it looks like you did a git clone and not a west init. Is this correct?

    -Priyanka

  • I used west init. To start from the beginning I...

    • nrfutil toolchain-manager launch --shell
    • west init -m [github repo].git my-workspace
    • cd my-workspace
    • west update
    • source zephyr/zephyr-env.sh (I have tried with and without this step)
    • cd ULC.git
    • west build

    and I always end up with this output

    I can't seem to find any reference anywhere to "zephyr_syscall_include_directories" besides the CMakeLists files in the sample projects from nordic and zephyr. Is it possible it's compiled into something? I assumed it was going to be defined in a *.cmake kinda file(that I'm failing to include), but that doesn't seem to be the case.

    Thanks!

  • Thank you for the detailed update. We are looking into this.

1 2