mauville-technologies / godot_dragonbones

Plugin module for Godot 2.1 & Godot 3 Game Engine to use DragonBones
MIT License
87 stars 13 forks source link

Mono builds #26

Open Ozzadar opened 3 years ago

Trider12 commented 3 years ago

Hi, I'm trying to build the module with mono but getting the following errors during the glue generation stage:


ERROR: BindingsGenerator::_get_type_or_placeholder: Type not found. Creating placeholder: 'GDDisplay'.
   At: modules\mono\editor\bindings_generator.cpp:2137

...

ERROR: BindingsGenerator::_generate_cs_type: Base type 'GDDisplay' does not exist, for class 'GDArmatureDisplay'.
   At: modules\mono\editor\bindings_generator.cpp:1210
ERROR: BindingsGenerator::generate_cs_api: Generation of the Core API C# project failed.
   At: modules\mono\editor\bindings_generator.cpp:1115
ERROR: handle_cmdline_options: --generate-mono-glue: Failed to generate the C# API.
   At: modules\mono\editor\bindings_generator.cpp:3089
Ozzadar commented 3 years ago

Which Godot branch are you trying to build? Make sure you're on tags/3.3 as that is the last one that I had built with the non-mono builds.

If you can confirm that still doesn't work, there's probably something wrong.

Trider12 commented 3 years ago

@Ozzadar, initially I tried 3.3.1-stable, but now I've reproduced the same errors on 3.3-stable.

I can't think of any problems on my side because I can build other modules just fine.

Ozzadar commented 3 years ago

Odd. I've been meaning to look at Mono builds just haven't had time to put into it. GDDisplay is probably missing some sort of annotation to register it with the build system or something.