All I can say for now is that make sure all the associated source files are present and added to your project. This is one of the most common mistakes.
Additionally, please clear your fundamentals before using this forum as a debugging tool!
(In one of your previous posts you didn't even know that a variable needs to be declared before it can be used....this is very very basic level stuff).