Just "compiling" the project will not be enough, you have to "build" your project to re-generate the component's sources.
When still in trouble post your complete project so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Thanks for your reply Bob, I actually build before compile. I started again from scratch ( new project) and I was able to rebuild just fine, Problem solved.