Cocos2d-x 3.7 ошибка сборки Android

Я использовал 3.0rc раньше. в то время сборка Android прошла успешно.

но в 3.7 происходит ошибка компиляции.

В iOS сборка очень удачная. но Android не удалось скомпилировать.

/Users/RetinaFish/android-ndk-r9d/build/core/build-binary.mk:393: warning: overriding commands for target `obj/local/armeabi/objs-debug/bullet_static/BulletMultiThreaded/SpuLibspe2Support.o'
/Users/RetinaFish/android-ndk-r9d/build/core/build-binary.mk:393: warning: ignoring old commands for target `obj/local/armeabi/objs-debug/bullet_static/BulletMultiThreaded/SpuLibspe2Support.o'
[armeabi] Compile++ thumb: cocos2dcpp_shared <= AppVariable.cpp
[armeabi] Compile++ thumb: cocos2dcpp_shared <= Bullet.cpp
[armeabi] Compile++ thumb: cocos2dcpp_shared <= CCTBezierRotateTo.cpp
[armeabi] Compile++ thumb: cocos2dcpp_shared <= CCTBezierSpinTo.cpp
In file included from jni/../../Classes/CCTBezierSpinTo.cpp:9:0:
jni/../../Classes/CCTBezierSpinTo.h:12:30: fatal error: CCActionInterval.h: No such file or directory
#include "CCActionInterval.h"^
In file included from jni/../../Classes/CCTBezierRotateTo.cpp:9:0:
jni/../../Classes/CCTBezierRotateTo.h:12:30: fatal error: CCActionInterval.h: No such file or directory
#include "CCActionInterval.h"^
compilation terminated.
compilation terminated.
make: *** [obj/local/armeabi/objs-debug/cocos2dcpp_shared/__/__/Classes/CCTBezierSpinTo.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/local/armeabi/objs-debug/cocos2dcpp_shared/__/__/Classes/CCTBezierRotateTo.o] Error 1
In file included from jni/../../Classes/Ship.h:15:0,
from jni/../../Classes/AppVariable.h:15,
from jni/../../Classes/AppVariable.cpp:9:
jni/../../Classes/SubShip.h:11:22: fatal error: CCSprite.h: No such file or directory
#include "CCSprite.h"^
In file included from jni/../../Classes/Ship.h:15:0,
from jni/../../Classes/AppVariable.h:15,
from jni/../../Classes/Bullet.cpp:10:
jni/../../Classes/SubShip.h:11:22: fatal error: CCSprite.h: No such file or directory
#include "CCSprite.h"^
compilation terminated.
compilation terminated.
make: *** [obj/local/armeabi/objs-debug/cocos2dcpp_shared/__/__/Classes/Bullet.o] Error 1
make: *** [obj/local/armeabi/objs-debug/cocos2dcpp_shared/__/__/Classes/AppVariable.o] Error 1
make: Leaving directory `/Projects/PacificWar/proj.android'
Error running command, return code: 2.

Выше приведена ошибка.

Я не мог понять, что он не может найти CCSprite.h или CCActionInterval.h.

Я использую Android Studio и Eclipse. но это не работает

Кто-нибудь знает, как решить этот?

0

Решение

Задача ещё не решена.

Другие решения


По вопросам рекламы [email protected]