0 votes

I am trying to create a GDNative plugin to act as a wrapper around a C++ library that I have also created. The C++ library that I am trying to use is a dynamic library and I added the path to the .so file in the SConstruct file and everything seems to build correctly.

However, when I open the Godot project and the dynamic library of the GDNative plugin attempts to open I get the following error:

Can't open dynamic library: /home/pathtoproject/terrainRenderer/demo/bin/x11/libgdrenderer.so. Error: libnodegraph.so: cannot open shared object file: No such file or directory modules/gdnative/gdnative.cpp:488 - No valid library handle, can't get symbol from GDNative object modules/gdnative/nativescript/nativescript.cpp:1504 - No nativescript_init in "res://bin/x11/libgdrenderer.so" found modules/gdnative/nativescript/nativescript.cpp:91 - Condition ' !script_data ' is true. modules/gdnative/gdnative.cpp:488 - No valid library handle, can't get symbol from GDNative object modules/gdnative/gdnative.cpp:393 - No valid library handle, can't terminate GDNative object Can't open dynamic library: /home/pathtoproject/terrainRenderer/demo/bin/x11/libgdrenderer.so. Error: libnodegraph.so: cannot open shared object file: No such file or directory

Does anyone have a solution to this problem?

in Engine by (14 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.