offsets.h No such file or directory

Hi, 

We have been using SDK version 2.1.1 and currently are in the process of migrating to SDK version 2.5.0.

Would be helpful to get some hint regarding what conditions can lead to the following error when building our application.

In file included from C:\ncs\v2.5.0\zephyr\include\zephyr\app_memory\app_memdomain.h:9,
from C:\ncs\v2.5.0\zephyr\include\zephyr\rtio\rtio.h:31,
from C:\ncs\v2.5.0\zephyr\include\zephyr\drivers\i2c.h:28,
from <our application.h>...
C:\ncs\v2.5.0\zephyr\include\zephyr\linker\linker-defs.h:26:10: fatal error: offsets.h: No such file or directory
26 | #include <offsets.h>
| ^~~~~~~~~~~

Thanks,

Mathi.

Parents Reply
  • Hi,

    - I installed the toolchain manually. My project is a single application with its own west.yml that pulls in all the required dependencies, including NCS. The application has other dependencies that are compiled using cmake's add_subdirectory, I suspect this is part of the issue on my side (since the offsets.h issue appeared on one of these dependencies).
    - mcuboot and hci_rpmsg were added automatically by the build system by setting the relevant configuration options in prj.conf.
    - I don't use sysbuild.

Children
No Data
Related