ShadowApex / godot-go

Go language bindings for the Godot Engine's GDNative API.
MIT License
363 stars 31 forks source link

Windows compiled DLL closes without error Godot #49

Open chiguireitor opened 5 years ago

chiguireitor commented 5 years ago

Description

I compiled a simple library for linux and it worked without any problem: When compiling on Windows the editor crashes without any error on console or a dialog when it loses focus.

This is the GDNative:

https://github.com/chiguireitor/godot-gobtcsuite

Details

|Go version | 1.12.6 | |Godot version | 3.1 stable on windows / 3.2 HEAD on linux | |Godot-Go version/commit hash | Will ask tomorrow my teammate on his windows version | |OS | Windows |

chiguireitor commented 5 years ago

Also, the compiled libraries are HUGE! like 10mb each

chiguireitor commented 5 years ago

Tried compiling with mingw-w64, didn't work, gonna try and compile godot 3.2 on windows.

The mingw binaries raise a complaint on godot about not finding symbols on the shared module.