I'm trying to include one of the UI classes in my cocos2dx project.
In my scene class I have:
#include "CocosGUI.h"
It compiles fine for iOS, but when I try to use the command line to compile for Android I get the following error:
fatal error: CocosGUI.h: No such file or directory
I understand it's because it can't find the library. I've been trying to find the right one to add but haven't had any luck.
I've added:
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_ui_static
and
$(call import-module,extensions)
$(call import-module,ui)
But that doesn't seem to help.
I'm using cocos2dx v3.0