Piccolo icon indicating copy to clipboard operation
Piccolo copied to clipboard

M1 Max Mac疑似因为JoltPhysics库无法运行Pilot Editor

Open ermaolaoye opened this issue 2 years ago • 8 comments

Describe the bug | Bug描述 Compile 和 Build 都成功了,直接运行Pilot Editor会提示 89434 illegal hardware instruction image

直接在Xcode中运行,会在JoltPhysics库部分报错。 image

Desktop | 桌面环境

  • OS: macOS 12.3.1
  • SOC: M1 Max
  • Memory: 32GB

ermaolaoye avatar Jun 23 '22 12:06 ermaolaoye

有可能是因为Rosetta 2对SSE指令集的支持有问题。有没有办法在CMakeList那里加一个parameter,如果检测到是Apple Silicon的机器就直接强制JoltPhysics组件使用NEON instruction set呢?

ermaolaoye avatar Jun 23 '22 13:06 ermaolaoye

Hi Ermaolaoye233~ you may check any of these for a M1 chips compatibility.

https://github.com/DLTcollab/sse2neon https://github.com/simd-everywhere/simde

btw, Xcode is fairly unfriendly for a cross-platform building. As an alternative, Clion with LLVM clang would have a pain-free experience for building Piccolo.

Xayah-Hina avatar Jun 29 '22 09:06 Xayah-Hina

在 mac m1上跑通了吗

有可能是因为Rosetta 2对SSE指令集的支持有问题。有没有办法在CMakeList那里加一个parameter,如果检测到是Apple Silicon的机器就直接强制JoltPhysics组件使用NEON instruction set呢?

请问下,在 mac m1上跑通了吗?

dshcao avatar Mar 29 '23 14:03 dshcao

在 mac m1上跑通了吗

有可能是因为Rosetta 2对SSE指令集的支持有问题。有没有办法在CMakeList那里加一个parameter,如果检测到是Apple Silicon的机器就直接强制JoltPhysics组件使用NEON instruction set呢?

请问下,在 mac m1上跑通了吗?

可以编译 但是用rosette 模式启动还是报错

illegal hardware instruction

mrzhuzhe avatar Mar 30 '23 05:03 mrzhuzhe

在 mac m1上跑通了吗

有可能是因为Rosetta 2对SSE指令集的支持有问题。有没有办法在CMakeList那里加一个parameter,如果检测到是Apple Silicon的机器就直接强制JoltPhysics组件使用NEON instruction set呢?

请问下,在 mac m1上跑通了吗?

可以编译 但是用rosette 模式启动还是报错

illegal hardware instruction

课程大佬什么时候能加入对mac m支持,For M1 compatible, we will release later都好久了!买了个高配的 mac m2准备大干一场,打击我的积极性。。。

dshcao avatar Mar 30 '23 09:03 dshcao

在 mac m1上跑通了吗

有可能是因为Rosetta 2对SSE指令集的支持有问题。有没有办法在CMakeList那里加一个parameter,如果检测到是Apple Silicon的机器就直接强制JoltPhysics组件使用NEON instruction set呢?

请问下,在 mac m1上跑通了吗?

可以编译 但是用rosette 模式启动还是报错

illegal hardware instruction

课程大佬什么时候能加入对mac m支持,For M1 compatible, we will release later都好久了!买了个高配的 mac m2准备大干一场,打击我的积极性。。。

你有联系到课程群吗 看issue里似乎有人用m1跑通了

另外我有在学习neon指令集,有空我把sse2neon试一下 争取不用rosetta原生编译一个m1的版本

mrzhuzhe avatar Mar 30 '23 15:03 mrzhuzhe

你好,请问你跑成功了吗?我也遇到了一样的问题。

xxx6548 avatar Sep 14 '23 11:09 xxx6548

我真的很需要对于m1的支持

1Danny13 avatar Mar 08 '24 14:03 1Danny13