I trying compile my project, which is generated by tools/project_creator/create_project.py. But i got many errors and warning, such as:
- …/…/…/…/cocos2dx/cocoa/CCObject.h:60:9: warning: identifier «nullptr» is a keyword in C11
# /usr/include/c/4.7/bits/c0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C 2011 standard. This support is currently experimental, and must be enabled with thestd=c11 orstd=gnu++11std=gnu++11 compiler options.std=c11 or
# …/…/…/…/cocos2dx/platform/CCCommon.h:58:1: warning: scoped enums only available with - …/…/…/…/cocos2dx/cocoa/CCGeometry.h:174:30: error: «std::function» не был декларирован
- …/…/…/…/cocos2dx/cocoa/CCGeometry.h:174:38: error: expected «,» or «…» before «<» token
- …/…/…/…/cocos2dx/actions/CCAction.h:140:41: warning: override controls (override/final) only available with
std=c++11 orstd=gnu (TOO MANY WARNING LIKE THIS) - e.t.c
- and finaly to many errors like below
- …/…/…/…/cocos2dx/include/CCDeprecated.h:880:94: error: «cocos2d::Texture2D::PixelFormat» is not a class or namespace
- …/…/…/…/cocos2dx/include/CCDeprecated.h:914:71: error: «cocos2d::Menu::State» is not a class or namespace
- …/…/…/…/cocos2dx/include/CCDeprecated.h:919:79: error: «cocos2d::Touch::DispatchMode» is not a class or namespace
- …/…/…/…/cocos2dx/include/CCDeprecated.h:924:72: error: «cocos2d::Image::Format» is not a class or namespace
- …/…/…/…/cocos2dx/include/CCDeprecated.h:929:112: error: «cocos2d::TransitionScene::Orientation» is not a class or namespace
- …/…/…/…/cocos2dx/include/CCDeprecated.h:949:67: error: «LanguageType» is not a class or namespace
- …/…/…/…/cocos2dx/include/CCDeprecated.h:975:88: error: «cocos2d::Application::Platform» is not a class or namespace
- …/…/…/…/cocos2dx/include/CCDeprecated.h:978:75: error: «ResolutionPolicy» is not a class or namespace
It’s possible compile&debug application under eclipse, without\with build.sh script?