This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+5 votes

Hi I followed this tutorial http://docs.godotengine.org/en/latest/tutorials/plugins/gdnative/gdnative-c-example.html and get the error message in the title when trying to run the final project. The same happens when I try to run the SimpleExample from the GodotDemo repositories. Does anyone know what I am doing wrong?

in Engine by (31 points)

I just ran into the very same problem. Have you found a solution?

Running into the same issue... Specifically, I compiled the c/SimpleDemo of the GDNative-demos with scons platform=osx for my self-compiled v3.0.2stable of godotengine (which works fine). Could you guys please provide your setup / used versions as well? :)

Also, please provide the information from the Errors tab in the editor's debugger frame - that brought me to the solution and I finally got the SimpleDemo working. For me it was related to the path configured in the gdns and the location of those file (.gdns, .gdnlib, .lib)

1 Answer

+1 vote

I was facing the same issue,

To solve this issue -

  • go to inspector
  • open your .gdns file, which would be in your bin folder
  • check whether the class name and library option is there or not. If not the fill it and save it

Save your .tscn file and run it.

It worked for me :)

by (18 points)

I want to add that after entering the class name, it is necessary to save not via Ctrl+S, but by clicking on the diskette icon in the inspector.

I renamed all of my gdns files in camel cases. Is GDNative case sensitive?

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.