Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问mac M1平台如何自己编译darwin-arm64-binding.node? #256

Open
RedLove opened this issue May 2, 2023 · 3 comments
Open

请问mac M1平台如何自己编译darwin-arm64-binding.node? #256

RedLove opened this issue May 2, 2023 · 3 comments

Comments

@RedLove
Copy link

RedLove commented May 2, 2023

我加了游戏中支持的图片格式,现在windows可以编译通过,在mac上使用 node-gyp编译时报了很多错,解决报错编译后,使用自己编译的 darwin-arm64-binding.node 时node会发生闪退并且没有报错信息,但使用项目中已经编译好的进行格式间转换就没有问题。

目前闪退发生在new Image().loadFromBuffer(buf, 0, buf.length);,请问 darwin-arm64 上正确的编译方式是什么?

@oxUnd
Copy link
Collaborator

oxUnd commented May 12, 2023

现在不可用么?

@EdwardLi-coder
Copy link

我的就是这个错

@EdwardLi-coder
Copy link

大佬 解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants