Member Reference Error

What does it mean when the error (member reference base type ‘vex: :directionType’ is not a structure or union) mean and how would I fix this?

You have a space between the two colons. “vex: :directionType” v. “vex::directionType”. I’m not going to guarantee that’s the problem, but I highly suspect it is.