2025-04-01 5:55 AM
Hi,
I am trying to add the X-CUBE-NFC7 library to my project. I am getting the following error:
../Middlewares/ST/lib_nfc7/lib_NDEF/Core/inc/lib_wrapper.h:26:10: fatal error: common.h: No such file or directory
26 | #include "common.h"
The steps that I followed were to:
1) .ioc file -> Software Packs -> Select Components -> selected lib_nfc7 core with basic interface
2) Select X-CUBE-NFC7 from the list in Middlewares and Software Packs and check the Wireless lib nfc7 option.
3) Save to generate code and then compile. This is when the error appears.
I loaded the example NDEF_URI project from the library folder and it compiled correctly.