Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | TheFamousRat |
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 GitHub - BastiaanOlij/gdtest: Nativescript 1.1 video introduction example.
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 (GitHub - godotengine/godot-cpp at nativescript-1.1).
Any help would be greatly appreciated.