Cocos2dx - 尝试使用build_native.sh命令时的私有bool

时间:2016-12-30 15:06:02

标签: android eclipse cocos2d-x

我正在尝试使用./build_native.sh命令在终端中编译类文件,但是,在几个文件之后,它会抛出错误

cocos2dx/menu_nodes/CCMenu.h:59:10: error: 'bool cocos2d::CCMenu::m_bEnabled' is private

jni/../../Classes/AISBeganMenu.cpp:100:61: error: within this context
make: *** [obj/local/armeabi/objs/cocos2dcpp_shared/__/__/Classes/AISBeganMenu.o] Error 1

然后停止编译,有没有办法在编译这些类文件时允许私有bool?

0 个答案:

没有答案