刚才发现c3dEngine2(http://git.oschina.net/wantnon2/c3dEngine2 或 https://github.com/wantnon2/c3dEngine2)的bulletTest1 demo在iOS真机上编译不过,报error: identifier or immediate expression expected的编译错误。
google了一下,找到下面帖子:http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=9538&p=32136
按着2楼bullet作者自己给出的方案:
Could you try to disable NEON for 64bit somewhere in btScalar.h, using something like the following line 183 (not tested)
#elif defined( __ARM_NEON__ ) && (!defined(__LP64__) && !defined(_LP64))
修改之后,问题解决。