Not sure how to re-compile and add this to my project #46
Replies: 1 comment 1 reply
-
|
Please read the docs about Developing. It links to the official GDExtensions docs and provides info how to build. Godot can export Debug and Release builds. Running from editor are usually debug builds. There must be an entry in the libropesim.gdextension file for each build config you plan to support. You can compile a release build of the addon and assign it to be used in debug builds. As mentioned in the docs, the easiest way is to build a full "release" is using Github Actions. Fork the repo, make it private if you need to, and the build scripts under |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I made some tweaks to the code to work with some game mechanics that I've been playing with, but I can't seem to figure out how to recompile it and have it correctly load into my project.
I've tried just running compile_release.sh and then copying the ropesim folder (with the newly compiled binaries) into my project, but Godot can never find any of the C++ objects (NativeRopeServer, etc.). It compiles just fine and builds the dll, exp and lib files.
I assume I'm just missing some part of the process that tells Godot how to find the objects made using GDExtension, but I can't figure it out myself, any tips?
Beta Was this translation helpful? Give feedback.
All reactions