You have attempted to delete a class from a .vcx library file while that class definition was in use.
Issue CLEAR ALL to remove all references to the class and try again.