Ok, now looking the first picture, it is noted that before this error it was reported by the compiler another one, referring to lack of a symbol. Did you check it ? Maybe the error you initially indicated it was just a consequence, not the cause of the problem.