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

Building Zephyr project in SES cannot find autoconf.h

I am using SES Nordic Edition 4.52 and I am building a Zephyr project configured with nRF Connect SDK.  After the initial build completes, every time I build without cleaning, I see this error for every source file:

C:/zephyrproj/v82/host/build_nrf52840dk_nrf52840/C/:/zephyrproj/v82/host/build_nrf52840dk_nrf52840/zephyr/include/generated/autoconf.h does not exist.

It then recompiles every source file even if I made no changes to it since the last build.  Why is it using an invalid path when looking for the autoconf.h?  It should be using:

C:/zephyrproj/v82/host/build_nrf52840dk_nrf52840/zephyr/include/generated/autoconf.h

I don't know why it is adding another C:/zephyrproj/v82/host/build_nrf52840dk_nrf52840/ to the beginning.  Does anyone know how to fix this?

Related