zoukankan      html  css  js  c++  java
  • bullet, iOS真机编译错误error: identifier or immediate expression expected解决方法

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

    修改之后,问题解决。

  • 相关阅读:
    前端之JavaScript
    前端之CSS
    前端之HTML
    编程总结
    线程
    锁机制,信号机制,事件机制
    并发编程
    struct
    linux查看端口
    vue页面跳转传参
  • 原文地址:https://www.cnblogs.com/wantnon/p/4798844.html
Copyright © 2011-2022 走看看