Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Thrallherd |
Hello,
I’m completely lost with this tutorial : GDNative C++ example — Godot Engine (3.2) documentation in English
First it’s unclear what the tree view should be. Here’s mine.
My problem is that I don’t get the Godot icon to move when I run the project. If I copy godot-cpp/bin/
and paste it into godot-cpp/demo/
so that I can load godot-cpp/demo/bin/gdexample.gdns
as the Sprite’s script (…is that really how we’re supposed to do things?), the situation remains the same. Please help, this tutorial is extremely confusing.
where is gdexample.so file?
supper_raptor | 2020-04-26 10:03
I don’t know.
$ scons platform=linux generate_bindings=yes use_custom_api_file=yes -j4
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `bin/libgodot-cpp.linux.debug.64.a' is up to date.
scons: done building targets.
Thrallherd | 2020-04-26 11:41
good you have compiled gdnative bindings
Now you need to write your plugin (gdexample
in tutorial) and compile it using scons (different SConstruct file) and you will get .so
files, thats the plugin
supper_raptor | 2020-04-26 15:25
Thank you it works now. I was unaware that two different SConstruct
files were needed for the entire thing to work.
Thrallherd | 2020-05-01 10:20