As Felissa said, can we see perhaps the entire class?
That way we can find out where it is, and why it doesn't see it in its scope.
To be honest, your compiler probably isn't lying, and it probably can't see that member variable.
Are you sure it's not declared outside of the class?
Greetings
Daniel