Re: build failed due to missing headers


Stephane D'Alu
 

On 10/4/19 2:07 PM, Cufi, Carles wrote:

On 10/4/19 1:50 PM, Cufi, Carles wrote:
Hi there,

I'm doing (west version is 0.6.2):
west build -b nrf52840_mdk samples/basic/blinky

and got:
...
...
../soc/arm/nordic_nrf/nrf52/soc.h:16:10: fatal error: nrfx.h: No such
file or directory
#include <nrfx.h>
^~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Any idea, on what is wrong and how to fix it?
Works fine here, are you sure you ran "west update"?

[...]
Can you try removing the entire /home/sdalu/Z/zephyrproject/zephyr/build folder and building again? It might be an issue with stale build files.
Same thing:

$ rm -rf build
$ ~/.local/bin/west -vvv build -b nrf52840_mdk samples/basic/blinky
...
...
../soc/arm/nordic_nrf/nrf52/soc.h:16:10: fatal error: nrfx.h: No such file or directory
#include <nrfx.h>
^~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


I attached the full log


--
Stephane D'Alu -- Ingenieur Recherche
Laboratoire CITI / INSA-Lyon
Tel: +33 47243 8925

Join users@lists.zephyrproject.org to automatically receive all group messages.