Using which toolchain - the old LPCXpresso IDE, or the current MCUXpresso IDE? And which version? And if using LPCXpresso IDE, please try the current MCUXpresso IDE out.
I would suggest posting more details into the appropriate toolchain forum.
Regards,
MCUXpresso IDE Support