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

Dependency error when attempting to compile alexa_gadget example

After having development success with the nRF52840 I'm beginning to look at development on the newer nRF5340. I've successfully gotten the blinky example working on the development kit, but am running into issues with the alexa_gadget example, which I'm unable to compile successfully in Segger (v5.34a); I'm on a Windows 64bit machine, using NCS 1.5.0-rc1, and on the nRF5340 DK. When opening nRF Connect SDK project, the board name I'm loading this project on is: nrf5340dk_nrf5340_cpuapp (which I'm assuming is the right one for this dev kit?)

Compilation halts when it reaches alexaDiscoveryDiscoverDirective.pb.c, providing a "No such file or directory" error for the file alexaDiscoveryDiscoverDirective.pb.c.obj.d. Here is the full text of the error:

opening dependency file C:/Users/Nathan/Repos/ncs/v1.5.0-rc1/nrf/samples/bluetooth/alexa_gadget/build_nrf5340dk_nrf5340_cpuapp/modules\nrf\subsys\bluetooth\services\alexa_gadgets\CMakeFiles\alexa_gadgets_lib.dir\__\__\__\__\__\__\generated\alexa\protobuf\alexaDiscoveryDiscoverDirective.pb.c.obj.d: No such file or directory

Here is a screenshot of the full set of compiler errors, which all relate to a similar dependency error:

Navigating to the folder in question, which does in fact exist (though it almost seems like an issue that there are 6 nested folders, each named __, along the way), these are the files I see present:

I'm hoping I'm missing something simple. Thanks in advance for your help!

Parents Reply Children
No Data
Related