bruvzg / gdsdecomp

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

Error while using cli (linux) #25

Closed The-ThirtyFour closed 3 years ago

The-ThirtyFour commented 3 years ago

Note: I'm currently using ubuntu 20.04.2

when trying to do a "Full Project Export" i'm getting the following error:

Godot Engine v3.3.3.rc.custom_build.4d48e3334 - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL ES Batching: ON
/lib/x86_64-linux-gnu/libasound.so.2: undefined symbol: snd_dlpath

ERROR: move_child: Parent node is busy setting up children, move_child() failed. Consider using call_deferred("move_child") instead (or "popup" if this is from a popup).
   At: scene/main/node.cpp:332.
nikitalita commented 3 years ago

The release version doesn't have this; I only implemented this on the master branch (i.e. 4.x), the release is on the 3.3 branch. You have to build from source.

The-ThirtyFour commented 3 years ago

wait, so i can't use this on godot 3.3?

nikitalita commented 3 years ago

It works on projects from Godot 2.x to Godot 4.x; it's just built against Godot 4.x.

The-ThirtyFour commented 3 years ago

Oh, understood. I'm gonna try.

The-ThirtyFour commented 3 years ago

so...

modules/gdsdecomp/editor/gdre_editor.cpp: In member function 'void GodotREEditor::init_gui(Control*, HBoxContainer*, bool)':
modules/gdsdecomp/editor/gdre_editor.cpp:395:16: error: 'class Label' has no member named 'set_autowrap'; did you mean 'set_autowrap_mode'?
  395 |   about_label->set_autowrap(true);
      |                ^~~~~~~~~~~~
      |                set_autowrap_mode
[Initial build] Compiling ==> modules/gdsdecomp/editor/gdre_pck_dlg.cpp
scons: *** [modules/gdsdecomp/editor/gdre_editor.linuxbsd.tools.64.o] Error 1
modules/gdsdecomp/editor/gdre_pck_dlg.cpp: In constructor 'PackDialog::PackDialog()':
modules/gdsdecomp/editor/gdre_pck_dlg.cpp:47:13: error: 'class Tree' has no member named 'set_column_min_width'; did you mean 'get_column_minimum_width'?
   47 |  file_list->set_column_min_width(1, 120 * EDSCALE);
      |             ^~~~~~~~~~~~~~~~~~~~
      |             get_column_minimum_width
modules/gdsdecomp/editor/gdre_pck_dlg.cpp:48:13: error: 'class Tree' has no member named 'set_column_min_width'; did you mean 'get_column_minimum_width'?
   48 |  file_list->set_column_min_width(2, 120 * EDSCALE);
      |             ^~~~~~~~~~~~~~~~~~~~
      |             get_column_minimum_width
scons: *** [modules/gdsdecomp/editor/gdre_pck_dlg.linuxbsd.tools.64.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:09:37.162]
nikitalita commented 3 years ago

Looks like we've drifted out of sync with master; try checking out godot @ b08dc1ea and running the build again.

The-ThirtyFour commented 3 years ago

It worked, thanks!!!!

ngoctnq commented 3 years ago

Worked for me too. Also, could you put this in the README for clarity?