sluaunreal icon indicating copy to clipboard operation
sluaunreal copied to clipboard

Undefined symbols for architecture arm64

Open modest008 opened this issue 11 months ago • 8 comments

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)

modest008 avatar Apr 02 '24 12:04 modest008

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

zjhongxian avatar Apr 03 '24 08:04 zjhongxian

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

modest008 avatar Apr 04 '24 02:04 modest008

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

zjhongxian avatar Apr 07 '24 02:04 zjhongxian

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

modest008 avatar Apr 07 '24 02:04 modest008

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

modest008 avatar Apr 07 '24 10:04 modest008

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

zjhongxian avatar Apr 10 '24 02:04 zjhongxian

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

modest008 avatar Apr 10 '24 12:04 modest008

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

RailgunHamster avatar Jul 11 '24 08:07 RailgunHamster