nrf/samples/cellular/nrf_cloud_multi_service will not build under Windows for V2.8.0

Hi,

We have come to expect that with the nRF Connect SDK installed properly and using recommended options we can build a sample, for example

$cd \ncs\v2.8.0\nrf\samples\nrf_cloud_multi_service

$ west build -b nrf9160dk/nrf9160/ns -- -DEXTRA_CONF_FILE="overlay_coap.conf"

This particular sample does not build. I believe that my Windows registry is set for unlimited path length, however there is a CMAKE warning that appears regarding path longer than 250, and the build fails. I understand from past tickets I have seen that it is difficult to correct this by increasing the Cmake variable for CMAKE_OBJECT_PATH_MAX. I found that I had to 

$ git mv nrf_cloud_multi_service ncms #for example

from the "cellular" directory in order to have a build go through.

So, you need to shorten your SDK paths in this area if you support Windows. Or give us another clean solution that does not force us to resort to git mv "low level" commands.

Burt

Parents
  • Hi, 2.8.0 has issues. Don't use VSCode just now for installing. I think Nordic guys fill fix this. I removed everything. Then I used nRF Remote Desktop for installing 2.8.0. Both toolchain and SDK. Then I found where nrfutil is and added it to PATH and installed what ever nrfutil -list there is available for installing with nrfutil.


    C:\ESW\ncs\nrfconnect>nrfutil install
    error: the following required arguments were not provided:
      <COMMANDS>...

    Usage: nrfutil.exe install <COMMANDS>...

    For more information, try '--help'.

    C:\ESW\ncs\nrfconnect>nrfutil install device
    [00:00:14] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install nrf5sdk-tools
    [00:00:18] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install ble-sniffer
    [00:00:04] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install 91
    [00:00:06] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install completion
    [00:00:03] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install npm
    [00:00:52] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install suit
    [00:00:04] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install toolchain-manager
    [00:00:03] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>nrfutil install trace
    [00:00:09] ###### 100% [Install packages] Install packages

    C:\ESW\ncs\nrfconnect>

  • Don't worry if you see duplicated empty.conf there below Kconfig. It works even you have only one prj.cnf, it reads it.

Reply Children
Related