Ubuntu Eclipse C++ "could not be resolved" errors

I’m using Eclipse C++ IDE on Ubuntu but Im getting syntax errors. I suspect its because Im not including the correct folders. Can someone help me out with this?

I have tried:

  • Properties -> Paths and Symbols -> GNU C++ -> Add -> /MyGame/cocos2d/cocos

Can anyone help?