bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.42k stars 138 forks source link

Build fails on latest master of Godot #57

Closed Festerdam closed 2 years ago

Festerdam commented 2 years ago
[Initial build] Compiling thirdparty/glslang/glslang/OSDependent/Unix/ossource.cpp ...
[Initial build] Compiling modules/gdsdecomp/register_types.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_015d36d.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_054a2ac.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_0b806ee.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_1a36141.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_1add52b.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_1ca61a3.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_216a8aa.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_2185c01.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_23381a5.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_23441ec.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_30c1229.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_31ce3c5.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_3ea6d9f.cpp ...
[Initial build] Compiling modules/glslang/register_types.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_48f1d02.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_4ee82a2.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_506df14.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_513c026.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_514a3fb.cpp ...
[Initial build] Linking Static Library modules/libmodule_glslang.linuxbsd.opt.tools.64.a ...
Ranlib Library modules/libmodule_glslang.linuxbsd.opt.tools.64.a ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_5565f55.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_5e938f0.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_6174585.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_620ec47.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_62273e5.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_64872ca.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_65d48d6.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_6694c11.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_703004f.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_7124599.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_7d2d144.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_7f7d97f.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_85585c7.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_8aab9a0.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_8b912d1.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_8c1731b.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_8cab401.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_8e35d93.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_91ca725.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_97f34a1.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_a3f1ee5.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_a56d6ff.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_a60f242.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_base.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_be46be7.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_c00427a.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_c24c739.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_c6120e7.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_d28da86.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_d6b31da.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_e82dc40.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_ed80f45.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_f3f05dc.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_f8a7c46.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_ff1e7cf.cpp ...
[Initial build] Compiling modules/gdsdecomp/bytecode/bytecode_versions.cpp ...
[Initial build] Compiling modules/gdsdecomp/editor/gdre_cmp_dlg.cpp ...
[Initial build] Compiling modules/gdsdecomp/editor/gdre_dec_dlg.cpp ...
[Initial build] Generating default project theme icons header.
[Initial build] Compiling modules/gdsdecomp/editor/gdre_editor.cpp ...
[Initial build] Compiling modules/gdsdecomp/editor/gdre_enc_key.cpp ...
modules/gdsdecomp/editor/gdre_editor.cpp: In member function 'void GodotREEditor::init_gui(Control*, HBoxContainer*, bool)':
modules/gdsdecomp/editor/gdre_editor.cpp:413:41: error: 'AUTOWRAP_WORD_SMART' is not a member of 'Label'
  413 |   about_label->set_autowrap_mode(Label::AUTOWRAP_WORD_SMART);
      |                                         ^~~~~~~~~~~~~~~~~~~
scons: *** [modules/gdsdecomp/editor/gdre_editor.linuxbsd.opt.tools.64.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:12:50.954]

This is on f41cb30f9b7fe46a014162aba9c0e9a9697343d2 of Godot building with /usr/bin/env python3 $(which scons) platform=linuxbsd -j4 target=release_debug.

According to the requirements in the readme, I'm supposed to be using Godot 4.0.

Relacing Label:AUTOWRAP_WORD_SMART with TextServer:AUTOWRAP_WORD_SMART fixes it, it seems.

nikitalita commented 2 years ago

Yes, we have drifted out of sync with master. I am probably not going to sync it again until 4.0 gets closer to release, as the API is changing much more than I am comfortable keeping up with right now.

https://github.com/godotengine/godot/commit/ff75a49227d8d81f99b728fc89b1e4e6e79ed5be

nikitalita commented 2 years ago

Never mind, I had to sync this to fix another bug