首页 > 移动平台 > 详细

bullet, iOS真机编译错误error: identifier or immediate expression expected解决方法

时间:2015-09-10 20:58:05      阅读:438      评论:0      收藏:0      [点我收藏+]

刚才发现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))

修改之后,问题解决。

bullet, iOS真机编译错误error: identifier or immediate expression expected解决方法

原文:http://www.cnblogs.com/wantnon/p/4798844.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!