Hi Tomasz
In order for us to respond to your problem you will probably have to provide some additional information. Certainly what version of SPIFIlib your driver was written to use will be useful. An indication of what the compilation errors you are seeing might also be helpful.
Have you considered referring to current SPIFIib documentation and examples in order to update your driver? That way you would benefit from any bug fixes or extended part range that there may have been added since the version you are using was issued.
Sincerely
LPCXpresso IDE Support