The target product can be obtained by reaction of homophthalic anhydride (I) with amine (II) at high temperature (160-180 C).