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

Include of "nfc_text_rec.c" fails

Dear community,

I opened and successfully tried out the preflash_example. Since I will need a plain text NDEF message instead of an URI NDEF message as used in the example, I planned to simply change the URI message to a plain text message - just to evaluate how easy it is to change the NDFE type and message on the nRF52840.

For implementing a NDEF text message, I figured that I need to include the "nfc_text_rec.c" file into this example. When included, the compiler gives an error:

'nrf_text_rec.h: No such file or directory'

After searching for a solution, I came across some other questions in this forum where people had similar issues. The solution often was to add the path to the file in the User Include Directories. When I open that setting, it looks different than in many screenshots I have seen, as shown below 

It seems like the value for the User Include Directories is inherited and I don't know from where and how I can change this setting. Can I simply add the path to the "nfc_text_rec.c" file? And why is this setting different from the settings that other people have?

Thank you.

Parents Reply Children
No Data
Related