You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"To generate and compile the bindings, use this command (replacing with windows, linux or macos depending on your OS):
The build process automatically detects the number of CPU threads [...]"
So there is a missing command in between those lines. I believe the missing command is scons platform=<platform> but this is my first time doing this so idk. There is also a call to scons later on, so maybe this one is redundant.
Also, I noticed that when cloning the repo it forces the 4.1 branch, but I think it should clone the 4.2 (?)
Hope this helps
The text was updated successfully, but these errors were encountered:
PabloIsCoding
changed the title
Missing scons command in docs, also potentially outdated command when git cloning
Missing scons command in GDExtension C++ example docs, also potentially outdated command when git cloning
May 12, 2024
Following the guide in godot 4.2 I couldn't make the example work, but it worked when switching to 4.1, so maybe it's good that the clone commands gets the 4.1. Still, there should be a warning specifying that this will only work in 4.1.
Well I tried to reproduce it today from scratch and it works. My guess is that I was either compiling the godot-cpp master branch or the 4.1 branch instead of 4.2.
Question: isn't 4.2 the latest stable version? The docs for the cpp example still seem to point to 4.1
Your Godot version: 4.2
Issue description: Missing command (and possibly an outdated one also) in docs
URL to the documentation page: https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_cpp_example.html
The docs say:
"To generate and compile the bindings, use this command (replacing with windows, linux or macos depending on your OS):
The build process automatically detects the number of CPU threads [...]"
So there is a missing command in between those lines. I believe the missing command is
scons platform=<platform>
but this is my first time doing this so idk. There is also a call to scons later on, so maybe this one is redundant.Also, I noticed that when cloning the repo it forces the 4.1 branch, but I think it should clone the 4.2 (?)
Hope this helps
The text was updated successfully, but these errors were encountered: