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
Note that the only thing in the blog that discusses this error is the title. Then it rambles on about booleans, gdextension, and c++ bindings. I'm guessing it was probably written by AI or something. Impressive that it somehow caught the issue tho! Even tho the proposed answer is wildly incorrect.
The solution is 1 of 2 things:
Require users to be on SCons 2.7.0 or earlier. (I don't reccomend this approach. In my experience, locking in on old versions of software eventually creates future and more challenging headaches).
I actually originally reported this over here: godotengine/godot#94410. And as I was grabbing code examples, I realized most (maybe all) examples were from this godot-nir-static repo and the mesa submodule
The text was updated successfully, but these errors were encountered:
godot-nir-static can no longer be built with the SCons 4.8.0 update. It appears that wildcard imports no longer work. So things like
Won't import
BoolVariable
and such.This has been recently discovered on this StackOverflow question: https://stackoverflow.com/questions/78746956/error-name-boolvariable-is-not-defined-when-using-scons-on-godot-with-c
And this blog: https://devcodef1.com/news/1330890/godot-c-error-undefined-boolvariable-in-scons
Note that the only thing in the blog that discusses this error is the title. Then it rambles on about booleans, gdextension, and c++ bindings. I'm guessing it was probably written by AI or something. Impressive that it somehow caught the issue tho! Even tho the proposed answer is wildly incorrect.
The solution is 1 of 2 things:
Here are some areas that are affected:
godot-nir-static/godot-tools/windows.py
Line 6 in 27a49f8
godot-nir-static/godot-tools/targets.py
Line 4 in 27a49f8
Also,
os
now needs to be explicitly imported.I actually originally reported this over here: godotengine/godot#94410. And as I was grabbing code examples, I realized most (maybe all) examples were from this godot-nir-static repo and the mesa submodule
The text was updated successfully, but these errors were encountered: