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

Cannot build projects in SES; 'entropy.c' & ctr_drgb.c' fatal errors

Hi Devzone,

I am struggling to build projects in SES. I am getting "fatal errors" when I try to build applications and samples. See following output from SES (asset_tracker build):

1> Compiling ‘entropy.c’
2> Compiling ‘ctr_drbg.c’
1> C:/Users/jesp374b.NEXT/AppData/Local/Programs/Python/Python37/Lib/site-packages/west/ncs/nrfxlib/nrf_security/src/backend/cc310/replacements/entropy.c:441:1: fatal error: opening dependency file C:/Users/jesp374b.NEXT/AppData/Local/Programs/Python/Python37/Lib/site-packages/west/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm\zephyr\modules\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\spm_mbeddrbg.dir\__\backend\cc310\replacements\entropy.c.obj.d: No such file or directory
1> compilation terminated.
2> C:/Users/jesp374b.NEXT/AppData/Local/Programs/Python/Python37/Lib/site-packages/west/ncs/mbedtls/library/ctr_drbg.c:471:1: fatal error: opening dependency file C:/Users/jesp374b.NEXT/AppData/Local/Programs/Python/Python37/Lib/site-packages/west/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm\zephyr\modules\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\spm_mbeddrbg.dir\C_\Users\jesp374b.NEXT\AppData\Local\Programs\Python\Python37\Lib\site-packages\west\ncs\mbedtls\library\ctr_drbg.c.obj.d: No such file or directory
2> compilation terminated.
Build failed


I am using the Nordic Semi. version of SES.
I have used the "Getting Started Assistant" to set up my toolchain. I have re-cloned the nRF Connect SDK using the commands mentioned in the Getting Started Assistant. I have also installed the modules mentioned in the assistant.
I am using "ncs_tag" = v1.0.0

Thanks in advance.

Regards, 
Jesper.

Related