cancel
Showing results for 
Search instead for 
Did you mean: 

How to add X-CUBE library to project?

icecats
Associate II

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

icecats_0-1743511715982.png

 

2) Select X-CUBE-NFC7 from the list in Middlewares and Software Packs and check the Wireless lib nfc7 option.

icecats_1-1743511775664.png

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.

 

0 REPLIES 0