在Window下编译cpptest Android工程的时候报错 ,看报错情况是找不到一些类的定义,官方的Demo我什么都没有修改过,是哪里配置不对吗?
E:\cocos2d-x-3.2\build>python android-build.py -p 17 cpp-tests
D:\android-ndk-r9d\ndk-build -j4 -C E:\cocos2d-x-3.2\build…\tests/cpp-tests/proj.android NDK_DEBUG=1 NDK_MODULE_PATH=E:\cocos2d-x-3.2\build…;E:\co
cos2d-x-3.2\build…/external;E:\cocos2d-x-3.2\build…/cocos
Android NDK: WARNING:E:\cocos2d-x-3.2\build…/cocos/./Android.mk:cocos2dx_static: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:E:\cocos2d-x-3.2\build…/cocos/platform/android/Android.mk:cocos2dxandroid_static: LOCAL_LDLIBS is always ignored for static lib
raries
make.exe: Entering directory `E:/cocos2d-x-3.2/tests/cpp-tests/proj.android’
SharedLibrary : libcpp_tests.so
E:\cocos2d-x-3.2\build…/cocos/editor-support/spine/spine-cocos2dx.cpp:41: error: undefined reference to ‘cocos2d::TextureAtlas::createWithTexture(co
cos2d::Texture2D*, int)’
E:\cocos2d-x-3.2\build…/cocos/editor-support/cocostudio/CCSkin.cpp:201: error: undefined reference to ‘cocos2d::TextureAtlas::updateQuad(cocos2d::V3
F_C4B_T2F_Quad*, int)’
E:\cocos2d-x-3.2\build…/cocos/editor-support/cocostudio/CCSkin.cpp:228: error: undefined reference to ‘cocos2d::QuadCommand::init(float, unsigned in
t, cocos2d::GLProgramState*, cocos2d::BlendFunc, cocos2d::V3F_C4B_T2F_Quad*, int, cocos2d::Mat4 const&)’
E:\cocos2d-x-3.2\build…/cocos/./2d/CCActionManager.cpp:81: error: undefined reference to ‘cocos2d::ccArrayNew(int)’
E:\cocos2d-x-3.2\build…/cocos/./2d/CCActionManager.cpp error: undefined reference to ‘cocos2d::ccArrayRemoveObjectAtIndex(cocos2d::_ccArray*, i
nt, bool)’
E:\cocos2d-x-3.2\build…/cocos/./2d/CCAtlasNode.cpp:93: error: undefined reference to ‘cocos2d::TextureAtlas::initWithTexture(cocos2d::Texture2D*, in
t)’
E:\cocos2d-x-3.2\build…/cocos/./2d/CCAtlasNode.cpp:138: error: undefined reference to ‘cocos2d::QuadCommand::init(float, unsigned int, cocos2d::GLPr
ogramState*, cocos2d::BlendFunc, cocos2d::V3F_C4B_T2F_Quad*, int, cocos2d::Mat4 const&)’
E:\cocos2d-x-3.2\build…/cocos/./2d/CCFontAtlas.cpp:76: error: undefined reference to ‘cocos2d::Texture2D::initWithData(void const*, int, cocos2d::Te
xture2D::PixelFormat, int, int, cocos2d::Size const&)’