Projects > cpp > Issues > Bug #4385

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

cocos2d-x v2.x does not compile on xcode5.1 if targeting arm64

Bug #4385 [Closed]
dakiki 2014-03-15 17:18 . Updated about 2 years ago

xcode 5.1 won't compile cocos2d-x v2.x for arm64 archs because of some pointers stored into "int" values (loss of data).

Errors mainly come from CCEGLViewProtocol.h/.cpp, the handleTouchesXXX functions that use "int ids[]" instead of a size_t type
Same for (iOS platform), all the touchesXXX methods.

All other 64 platforms might have a similar issue (pointer stored in a 32bits variable).

zhangxm 2014-09-17 07:40

v2.x can not build for arm64, because 3rd libs don't include arm64 version.
So it is meaningless to fix the bug.

zhangxm 2014-09-17 07:40
  • Status changed from New to Closed

Atom PDF

Start date:2014-03-15
Due date:
% Done:


Category:ios, linux, mac, windows
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.