lianlab / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

fix build for universal for iOS . #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.the current source cmake project just can build for armv7, not for armv6

the neon instruction only available for armv7. 

fix the bullet/src directory , 

change 
    #elif defined( __arm__ )
to 
    #elif defined( __armv7__ )

hope this can help other.

Original issue reported on code.google.com by lin...@gmail.com on 5 Sep 2012 at 9:17

Attachments:

GoogleCodeExporter commented 9 years ago
good idea. but this is change can run on iphonesimulator 4.0 and xcode 3.2 
environment?

i will try it ...

thanks!

Original comment by siz...@gmail.com on 6 Sep 2012 at 1:58

GoogleCodeExporter commented 9 years ago
i had tested on xcode 4 device

Original comment by lin...@gmail.com on 6 Sep 2012 at 4:35

GoogleCodeExporter commented 9 years ago
Seems like Erwin patched this already...

Original comment by thomas.t...@googlemail.com on 6 Sep 2012 at 10:05

GoogleCodeExporter commented 9 years ago
yeah

Original comment by lin...@gmail.com on 6 Sep 2012 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by thomas.t...@googlemail.com on 6 Sep 2012 at 3:31