0 votes

I'm trying to run an example "InstanceBindingDemo" from this repository: https://github.com/GodotNativeTools/GDNative-demos.git

But after compiling the library, I run the project and get an error in the Godot console:

handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f520c3b6f20] (??:0)
[2] /home/zababon/Work/Gamedev/Godot Projects/GDNativeTest/GDNative-demos/c/MyInstanceBindingDemo/bin/libsimple.so(godot_nativescript_init+0xed) [0x7f51f0470e1d] (??:0)

I determined that the problem is in the godot_gdnative_init method where the program can not get nativescript_1_1_api because nativescript_api-> next returns 0.

Is it possible to solve this problem or I'm trying to run outdated examples?

in Engine by (27 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.