Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error when creating an archive of my cocos2d app

I'm using cocos2d-iphone (develop-v2) and xcode 5 and have this error when trying to archive my app: (and not when I compile it)

libs/kazmath/src/neon_matrix_impl.c:64:15:

error: unknown register name 'q0' in asm
         : "memory", "q0", "q1", "q2", "q3", "q8", "q9", "q10", "q11", "q12", "q13", "q14", "q15" //clobber
                     ^
libs/kazmath/src/neon_matrix_impl.c:93:15: error: unknown register name 'q0' in asm
         : "memory", "q0", "q1", "q8", "q9", "q10", "q11" //clobber
                     ^
2 errors generated.

How to fix that?

like image 649
franck Avatar asked Oct 28 '13 12:10

franck


1 Answers

I had to replace:

#if defined(__ARM_NEON__)

by:

#if defined(_ARM_ARCH_7)

in the file neon_matrix_impl.c.

like image 85
franck Avatar answered Oct 22 '22 15:10

franck