CCEGLView problem !

Hello,

i want to set frame size and view name via “CCEGLView” class in “AppDelegate.CPP” in function “applicationDidFinishLaunching()”,

CCEGLView *eglView = CCEGLView::shareOpenGLView();

but its giving error:

“no viable conversion from cocos2d::CCEGLView to cocos2d::CCEGLView*”

Anyone help me out

Thanks.