'vector' is not a data type but a function (or macro):

Try:

VECTOR temp;
...

or

vec_for_screen(vector(500,500,500), camera);