bruvzg / gdsdecomp

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

Compiling errors caused by absense of files inside a `core` folder that does not exist #34

Closed ultima-gay closed 2 years ago

ultima-gay commented 2 years ago

I have been attempting to compile gdsdecomp as described in the readme, by placing gdsdecomp within modules (using Godot 3.3.4, the most recent release) and then compiling godot as normal, but I receive this error each time:

modules\gdsdecomp\register_types.cpp(6): fatal error C1083: Cannot open include file: 'core/object/class_db.h': No such file or directory
scons: *** [modules\gdsdecomp\register_types.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

I do not understand this error, but to my understanding no core folder exists in gdsdecomp, and the class_b.h file in godot 3.3.4 is located within core itself, and no core/object folder seems to exist. Whatever is occuring, it seems to be caused by files that are being included in the files but do not actually exist as the folder they would be in is absent, and the corresponding files from godot are in completely different folders within core

bruvzg commented 2 years ago

You are building the wrong version of the module, master branch of the module is for Godot 4.0. Use branch 3.x for Godot 3.x.

ultima-gay commented 2 years ago

Thank you, I did not see that I had the wrong version of the module