That to call a non-static membber function of a class you should create at first an object of the class and use it to call the function. Or you should declare the function as static.
I think that the problem is that you did not define the vector. You only declared it inside the class but not defined. It shall be defined somewhere in a module outside the class.