-
-
Notifications
You must be signed in to change notification settings - Fork 688
Description
Context
Windows 10
Visual Studio 2015 Community Edition
Issue:
when using GODOT_SUBCLASS(NewNode, Node), the line below gives the following error:
inline NewNode(godot_object *o) : Node(o) {} (from cpp_bindings/include/core/Godot.hpp: line 58)
"no suitable constructor exists to convert from "godot_object *" to "godot::Node"
I arrived at this error while attempting to follow through the Player : KinematicBody2D example in the "GDNative is here!" article. Simplifying it to just extending a similar class NewNode from godot::Node caused the same error.
I understand if this isn't something that needs to be addressed at all since this stuff is still in development, technically. Just thought I'd bring it up in case it was unexpected / worthy of attention.