0 votes

Hello,

So recently I've been trying to add C++ bindings into my code, mainly because some very useful c++ libraries do a great job at a few things I'd like to use in my code. However, it hasn't been working great so far.

I had a good experience with those bindings earlier in the year, but at the time I was on Windows. In the meantime I moved to Linux (Ubuntu 18.04), and now despite redoing the whole process of setting the environment up, when I try to use the GDNative script in the game, Godot is giving me the following error (and nothing else) :

modules/gdnative/nativescript/nativescript.cpp:91 - Condition ' !script_data ' is true.

I can not really show you the code, since it is ultra basic code that I took from this repo https://github.com/BastiaanOlij/gdtest.

I am using Godot 3.1, that I cloned and built yesterday. The version is 3.1.2, scons, that I used too, is at version 3.0.5. Similarly, I use the most recent commit of branch nativescript-1.1 of the godot-cpp (and godot_headers) repository (https://github.com/GodotNativeTools/godot-cpp/tree/nativescript-1.1).

Any help would be greatly appreciated.

in Engine by (345 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 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 webmaster@godotengine.org with your username.