Error when open main.cpp in jni.

Hi, I’m new and i try to install cocos2d-x on windows 8 (64 bit) with the ADT bundle. I followed this guide: http://www.cocos2d-x.org/wiki/Setup_the_cocos2d-x_for_android_in_Windows_8_Metro but i have strange error when compiling in eclipse. If i compile WITHOUT open the main.cpp in jni folder, all works fine and i can see on my device the normal cocos2d-x interface helloworld… however, if I open that file, eclipse detects some errors… as if it did not recognize the C++ or cocos2d-x libraries…someone can help me plz…???