问题描述
这里有人知道如何在 godot 3.3 单声道版本中优化游戏的导出大小吗?
我尝试从文档中提到的源代码构建 godot mono: https://docs.godotengine.org/en/latest/development/compiling/compiling_with_mono.html 它工作正常,但是当我添加文档中提到的优化命令时(但对于单声道版本): https://docs.godotengine.org/en/latest/development/compiling/optimizing_for_size.html 我在使用这个命令时遇到了一个问题:
scons platform=x11 target=release_debug tools=yes optimize=speed mono_glue=no mono_prefix=/opt/mono/ module_gridmap_enabled=no module_hdr_enabled=no module_jpg_enabled=no module_jsonrpc_enabled=no module_mobile_vr_enabled=no module_mono_enabled=yes module_ogg_enabled=no module_opensimplex_enabled=no module_opus_enabled=no module_regex_enabled=yes module_stb_vorbis_enabled=no module_tga_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_upnp_enabled=no module_visual_script_enabled=no module_vorbis_enabled=no module_webm_enabled=no module_webp_enabled=no no_editor_splash=yes -j3
bin/godot.x11.opt.tools.64.mono --generate-mono-glue modules/mono/glue
我收到此错误:符号查找错误:/lib64/libmonosgen-2.0.so.1:未定义符号:_ZTIPi 但是当我仅使用此命令构建时:
scons platform=x11 target=release_debug tools=yes mono_glue=no mono_prefix=/opt/mono/
一切正常,但如果我没有得到任何尺寸优化,我不需要从源代码构建引擎。
任何机构可以帮助我吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)