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

Undefined symbols for architecture arm64 #591

Open
modest008 opened this issue Apr 2, 2024 · 8 comments
Open

Undefined symbols for architecture arm64 #591

modest008 opened this issue Apr 2, 2024 · 8 comments

Comments

@modest008
Copy link

UE版本5.2.1
macos编译
老是提示以下错误,该怎么设置?
Undefined symbols for architecture arm64

symbol(s) not found for architecture arm64
Error : linker command failed with exit code 1 (use -v to see invocation)

@zjhongxian
Copy link
Collaborator

mac 下UE的支持应该是不完整的

@modest008
Copy link
Author

modest008 commented Apr 4, 2024

能具体说一下,支持到什么程度,哪些去掉,可以正常编译?

@zjhongxian
Copy link
Collaborator

能具体说一下,支持到什么程度,哪些去掉,可以正常编译?
准确说应该是UE官方对mac的支持不完备,具体要实操才行,要改不少地方。

@modest008
Copy link
Author

编译打印.txt
这是全部的编译打印,帮忙看一下

@modest008
Copy link
Author

对了,mac的芯片是Apple M1,不是知道有没有影响?

@zjhongxian
Copy link
Collaborator

对了,mac的芯片是Apple M1,不是知道有没有影响?
是有可能的,可以的话你可以找个老版本的Mac试试,我这边暂时还没空去看这个问题

@modest008
Copy link
Author

不折腾了,太费时间了,我用回C++,就没那多限制了

@RailgunHamster
Copy link
Contributor

@modest008 虽然有点晚了, 但是原因是这个仓库自带的liblua.a是x86下编译的, 只要编一个arm64的就好了, 又由于它自带了源码和编译脚本, 所以你只要在你的m1机器上cd到Plugins/slua_unreal目录下运行bash make_osx.sh等待编译完就行了

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