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

HTTP application update problem compiling

Hi,

I have problem compiling "HTTP application update" sample form the SDK for the NRF9160. I am using all the latest tools:
* segger embedded studio: v4.18
* nrf SDK v1.0

The error I get:
"opening dependency file C:/Users/NUC/Documents/nordic-sdk/ncs/nrf/samples/nrf9160/http_application_update/build_nrf9160_pca10090ns/spm\zephyr\modules\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\spm_mbedcrypto_vanilla.dir\C_\Users\NUC\Documents\nordic-sdk\ncs\mbedtls\library\memory_buffer_alloc.c.obj.d: No such file or directory"

Best regards,
Voja

  • I think this may be it! I had an issue with too long filenames when i copied another project later. Changed up the folders I used there, but didn't think to go back and try it with this sample project.

  • Hi!

    I am using

    SES 4.20a 

    West 0.6.3

    NCS v1.0.0

    and have the same problem when building from SES, but also with building directly with west.

    Target folder is 

    /c/Users/ABCD123/Documents/workspace/nrf91_root/ncs/nrf/samples/nrf9160/at_client/build_nrf9160_pca10090ns

    And results in the following error:

    C:/Users/ABCD123/Documents/workspace/nrf91_root/ncs/mbedtls/library/memory_buffer_alloc.c:614:1: fatal error: opening dependency file C:/Users/ABCD123/Documents/workspace/nrf91_root/ncs/nrf/samples/nrf9160/at_client/build_nrf9160_pca10090ns/spm\zephyr\modules\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\spm_mbedcrypto_vanilla.dir\C_\Users\ABCD123\Documents\workspace\nrf91_root\ncs\mbedtls\library\memory_buffer_alloc.c.obj.d: No such file or directory

    If I set target folder to "build" and run from command line

    west build -b nrf9160_pca10090ns -d build

    Everything is ok and the build works,

    If I put ncs in a folder near C: (e.g. "/c/nrf91/ncs") and run with 

    west build -b nrf9160_pca10090ns -d build_nrf9160_pca10090ns

    it works fine.

    So it has definitly to do with the length of the path. It seems like there is a limit.

Related