Build error observed with "channel_sounding_ras_initiator" sample application

Dear sir,

I'm using the sample application "channel_sounding_ras_initiator" to performing the evaluation.
Here are my test environment:

- Developement kit: nRF45L151
- Tool chain version: v3.0.2
- SDK version: v3.0.2

But I'm encountering a build error when I tried to build "\v3.0.2\nrf\samples\bluetooth\channel_sounding_ras_initiator":

ninja: error: mkdir(modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/developers/ncs/v3.0.2/modules/crypto/oberon-psa-crypto/library): No such file or directory
ninja: build stopped: .
FATAL ERROR: command exited with status 1: 'C:\developers\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' --build C:/developers/ncs/v3.0.2/nrf/samples/bluetooth/channel_sounding_ras_initiator/build/channel_sounding_ras_initiator

Here is my build option:


Any ideas for what reason might result in this build error? 

Thanks!

Parents
  • Hi Justin,

    Looks like the default sample and default board then? That is strange. Are you seeing this also with other samples? If a basic sample doesn't build, my first assumption is that there something wrong with SDK installation - so nothing builds.

    Regards,

    Elfving 

  • Hi Elfving,

    Yes, it's default sample without any modification.
    And there is no problem with the other basic sample, such as peripheral UART.
    But observing the same problem on both of "channel_sounding_ras_initiator" and "channel_sounding_ras_reflector".
    Moreover, I've been install and uninstall SDK several times and install different SDK versions (3.0.0, 3.0.1, 3.0.2).
    But the symptom is the same.
    By the way, my laptop environment is Windows.

    Any ideas for what reason might result in this build error?
    Thanks.

  • Ah, then I assume the issue is related to the Windows path length. You see windows has this max path length thing, and the name of the channel sounding samples are so long that it likely strikes out on these particular samples and not others.

    Could you try either shortening your path length, or what is probably the easiest: give the project a shorter name than the default sample name?

    Regards,

    Elfving

  • Hi Elfving,

    Thanks for the help.
    The problem is solved after adjusting the project name as a shorter one.
    Such as:
    Default: \ncs\v3.0.2\nrf\samples\bluetooth\channel_sounding_ras_initiator
    Adjust:  \ncs\v3.0.2\nrf\samples\bluetooth\cs_ras_initiator

    So, if my understanding is correct, the user might encounter the same problem if his/her development environment is Windows.
    If yes, look like there is no tip to remind the user to shorten the sample name.

    Thanks.

Reply
  • Hi Elfving,

    Thanks for the help.
    The problem is solved after adjusting the project name as a shorter one.
    Such as:
    Default: \ncs\v3.0.2\nrf\samples\bluetooth\channel_sounding_ras_initiator
    Adjust:  \ncs\v3.0.2\nrf\samples\bluetooth\cs_ras_initiator

    So, if my understanding is correct, the user might encounter the same problem if his/her development environment is Windows.
    If yes, look like there is no tip to remind the user to shorten the sample name.

    Thanks.

Children
No Data
Related