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

Compilation error on first attempt of SERIAL_LTE_MODEM : bootutil_public.c.obj.d: No such file or directory

Hi,

I purchased a NRF9160 DK and am having problems on the first time I am trying to compile the SERIAL_LTE_MODEM application. I followed the steps according to the documentation and I am having the following error:

2> Compiling ‘bootutil_public.c’
2> D:/Desenvto/Desenvto_software/NRF/v1.5.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c:603:1: fatal error: opening dependency file D:/Desenvto/Desenvto_software/NRF/v1.5.0/nrf/applications/serial_lte_modem/build_nrf9160dk_nrf9160ns/modules\mcuboot\boot\bootutil\zephyr\CMakeFiles\..__bootloader__mcuboot__boot__bootutil__zephyr.dir\D_\Desenvto\Desenvto_software\NRF\v1.5.0\bootloader\mcuboot\boot\bootutil\src\bootutil_public.c.obj.d: No such file or directory
2> compilation terminated.
Build failed

If I try a simplest example, the blinky sample, it works fine.

Has anyone faced this problem or something like this before? 

Thanks!!

Parents
  • Hi, Jonas!

    This could be caused by the path to NCS being to long. Are you able to move the NCS installation folder to a directory higher up in the hierarchy? 

    Please provide the following information as well:
    - Build environment: command line or Segger Embedded Studio
    - Modifications: have you done any changes to the SLM application code or configuration?

    Best regards,
    Carl Richard

  • Hi Carl

    D:/ncs/v1.5.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c:603:1: fatal error: opening dependency file modules\mcuboot\boot\bootutil\zephyr\CMakeFiles\..__bootloader__mcuboot__boot__bootutil__zephyr.dir\D_\ncs\v1.5.0\bootloader\mcuboot\boot\bootutil\src\bootutil_public.c.obj.d: No such file or directory

    My ncs is short but it still can't build.

    How can I do.

Reply
  • Hi Carl

    D:/ncs/v1.5.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c:603:1: fatal error: opening dependency file modules\mcuboot\boot\bootutil\zephyr\CMakeFiles\..__bootloader__mcuboot__boot__bootutil__zephyr.dir\D_\ncs\v1.5.0\bootloader\mcuboot\boot\bootutil\src\bootutil_public.c.obj.d: No such file or directory

    My ncs is short but it still can't build.

    How can I do.

Children
No Data
Related