UPDATES after original posting:
I now remember having the same problem described below, once before on my windows installation.
At that time I decided to switch and reinstall everything in a virtual Ubuntu dedicated only to this project,
meaning that I never solved the original problem !!
I have now found the problem and it it turns out that several folder in the zephyr/include was empty (including the dt-bindings/*.*).
After a git restore everything works fine !!
Now I'm sitting back wondering if some of the scripts causes this problem in rare situations !! ??
/Jesper
-------------------------------
I'm suddenly unable til build any of my nrf9160 project and I have no idea what is wrong !!
I switch and tried build a simple hello-world that used to work but gets the same build error as listed below.
And if i try to load/build the same from SES , it the same.
I have seen problems when using west 0.7.0 and have manually switch to use 0.6.3
$ cmake -B build -GNinja -DBOARD=nrf9160_pca20035ns
$ west build -t menuconfig
$ west build -p auto -b nrf9160_pca20035ns
$ west build
Building twice (without deleting build folder) gives this
main.c
prj.conf
.west/config