compile window