客户端编译错误MathUtilNeon::addMatrix(const float* m, float scalar, fl..
Compile++ arm: cc_core <= CCGeometry.cppIn file included from E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../
cocos2d-x/cocos/math/MathUtil.cpp:63:0:
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:46:79: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::addMatrix(const float* m, float scalar, float* dst) __attribute
__((optnone))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:69:83: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::addMatrix(const float* m1, const float* m2, float* dst) __attri
bute__((optnone))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:90:88: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::subtractMatrix(const float* m1, const float* m2, float* dst) __
attribute__((optnone))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:111:84: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::multiplyMatrix(const float* m, float scalar, float* dst) __attr
ibute__((optnone))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:131:88: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::multiplyMatrix(const float* m1, const float* m2, float* dst) __
attribute__((optnone))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:168:68: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::negateMatrix(const float* m, float* dst) __attribute__((optnone
))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:187:71: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::transposeMatrix(const float* m, float* dst) __attribute__((optn
one))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:203:105: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::transformVec4(const float* m, float x, float y, float z, float
w, float* dst) __attribute__((optnone))
^
Compile++ arm: cc_core <= CCVertex.cpp
In file included from E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../
cocos2d-x/cocos/math/MathUtil.cpp:63:0:
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:226:85: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::transformVec4(const float* m, const float* v, float* dst) __att
ribute__((optnone))
^
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/cocos/math/M
athUtilNeon.inl:246:83: error: attributes are not allowed on a function-definition
inline void MathUtilNeon::crossVec3(const float* v1, const float* v2, float* dst) __attri
bute__((optnone))
^
make.exe: *** Error 1
make.exe: *** Waiting for unfinished jobs....
make.exe: Leaving directory `E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio
/app'
执行命令出错,返回值:2。
使用命令编译的时候出现这个问题帮忙看一下!
你用的最初客户端源代码编译的吧,最新版本没这个问题!
下面是补丁根据说明使用即可!
页:
[1]