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

Receiving error no such file for offsets.c.obj when building solution

I have updated my repos to the latest commits on master for zephyr, mcuboot, nrf, and nrfxlib. I ran `

pip3 install -r scripts\requirements.txt

and I can open the asset_tracker SDK project but when I go to build, I get this error. What would be causing this now that I've updated the codebase?

Building ‘zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/kobj-types-enum.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/otype-to-str.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/misc/generated/syscalls.json’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/syscall_list.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/syscall_dispatch.c’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/syscall_macros.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
Combining ‘zephyr/include/generated/offsets.h’

/PROJECTCODE/ncs/zephyr/scripts/gen_offset_header.py", line 72, in <module>
[Errno 2] No such file or directory: 'C:/PROJECTCODE/ncs/fw-nrfconnect-nrf/applications/asset_tracker/build/zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj'

Build failed

Related