I am having the same issue. But even though i gave path to WinAVR in proteus; same error remains