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

ble_app_hrs_nfc_pairing example not building

Hi,

I was looking for an example that combines NFC functionality with BLE for pairing purposes so I was pleasantly surprised when I found that there is such an example. Normally I opened the solution in SES and expected it to build out of the box but I get a very strange error.

In file nrf_crypto_rng_backend.h compiler throws an error "nrf_hw_backend_rng_mbedtls.h: No such file or directory". I verified in the project options in preprocessor tab that ../../../../../../../components/libraries/crypto/backend/nrf_hw is included. Also, I can "go to included file" and find it so to me it seems that it is in fact included in the project.

So how should I proceed in getting the example to build correctly so I can evaluate it?

Thanks,

Aleksa

Parents
  •  I verified in the project options in preprocessor tab that ../../../../../../../components/libraries/crypto/backend/nrf_hw is included

    and is the nrf_hw_backend_rng_mbedtls.h file in that folder? Or in any other folder that the compiler will be searching ?

    note that it's a relative path - are you sure it's relative to the right place?

    I can "go to included file" and find it so to me it seems that it is in fact included in the project.

    The code browsing is separate from the compiler's searching for include files.

    However, if you can find it then, then you know where it is - and can check that its location is included amongst the include paths

  • OK, so when I go to the nrf_hw_backend_rng_mbedtln.h file location it is in the correct folder. It would be very helpful if you could maybe verify that the example builds on your machine just to be sure.

Reply Children
Related