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.

Parents Reply
  • Hi Amanda,

    I am able to build the project now, which is great :)
    I did as suggested, and changed the "requirements.txt" file. I was then able to complete the installation with no further issues. 

    I also didn't have any issues flashing my merged.hex to the DK. However, I don't seem to be able to get a connection. I am running asset_tracker, in an attempt to add the DK to my nRF Cloud, but only LED 3 blinks. Should I open a new thread on this topic? 

    Nevertheless, thank you for your help :)
    Jesper 

Children
No Data
Related