LIFA_base

Hi, I installed LIFA_base from JKI, the installation was OK, but I can't uploaded it to arduino board, it says AFmotor.h file has a fatal error, and it says communication port error,
when I upload the sample program AnalogReadSerial, it goes through and it get uploaded to the arduino board, any idea why I can't upload the LIFA_base to arduino board. I am using arduino due.
see error attachment.