Wtf? My new/empty project already has compiler errors

What class are you inheriting from? You seem to be trying to override a function that does not exist in the parent class.

The incomplete type error would also suggest you forgot an include of a class definition that you are using as a property.