I had got the same (or a similar) error. Then I started over again and followed the "Getting Started" instructions step-by-step. I used the emFile example for a PSoC5. From Start-page -> Select Example Project and changing the device to a PSoC5.
Then I applied the required library directories and file settings - and it compiled without warning or error.
Thanks a lot, it works according to your suggestion, so it's solved.
You are always welcome!