+1 vote

I started using GDNative C++ on Linux (Ubuntu). First i created a class and registered it in a native library.cpp file just like the tutorial and everything was fine and working but when i added a second class and registered it the same way as the first class and in the same library Godot threw an error "Can't open dynamic library.." so i tried creating a new library for that class but it didn't work because it threw an error that a library is already defined. So i removed the second class to fix the problem but the project wasn't running the first class which was working at first so the project basically crashed so i really need help. like how do i register multiple classes ?

Godot version 3.23
in Engine by (28 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.