Search code examples
ioscocos2d-iphonearm64-bitcocos2d-iphone-2.x

Compiling cocos2d-iphone v2.x including arm64


An error occurs when compiling cocos2d-iphone v2.x and including arm64 architecture. The error is in the assembly code for kazmath. Is there a fix for this? (other than removing arm64)

libs/kazmath/src/neon_matrix_impl.c:

Unknown register name 'q0' in asm

Well, maybe no big deal... would be nice to support iPhone 5s etc fully with existing code. I guess this is fixed or will be fixed in the cocos2d 3.x line. https://github.com/cocos2d/cocos2d-iphone/issues/534


Solution

  • Cocos2D 2.2 now has 64 bit support!

    You can download version 2.2 form here.