Support Godot 4.7#419
Conversation
eb6ef6d to
01ef60c
Compare
b1cdebb to
e3d4dc1
Compare
Due to upstream change: godotengine/godot@eb01951
Due to upstream changes: godotengine/godot@abdde1b godotengine/godot@357fa00 godotengine/godot@3cb2d37
Due to upstream change: godotengine/godot@8c0f175
Due to upstream change: godotengine/godot@727b06a
e3d4dc1 to
c7b7138
Compare
|
Hi! Does the Checks errors affect the use of this PR? Edit: Compilation passed, and it seems to work fine. |
dd9097b to
07e1c5e
Compare
Apply upstream PR limbonaut#419 fixes: - Add missing ClassDB headers - Add missing callable_mp headers - Add missing Engine header - Add missing DisplayServer header - Add missing Input header - Add missing ResourceSaver headers - Improve Ref ownership safety - Fix editor crash upon closing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
This PR is ready for review now. GDExtension is untested for the most part. That said, I can't spot any glaring issues in Linux -- compilation seems fine and the demo runs fine as well. |
|
@Rubonnek I believe you need to add the line |
|
@pfchen the tests compile fine for me in Linux when using LimboAI as a module against the master branch in Godot. I need a way to reproduce your issue. What error do you see? Could you elaborate on your platform and dependencies? |
|
@Rubonnek I am also on Linux and using the latest Godot My build command is: Note: I placed your branch ( |
|
@pfchen Could you try placing the I was able to compile with the following command while having which is your exact command, but just dropping that |
|
@Rubonnek I think the reason should be quite clear by now. Direct Cause
So the build depends on whether another test header happened to include that file first. EvidenceGodot wires module test aggregation in The final generated include order is sorted in With
which sorts before built-in module tests like:
When LimboAI is placed in
which sorts after FixAdd this include to limboai
This makes the test header self-contained and fixes the issue for both in-tree and custom_modules builds. |
Due to upstream change: godotengine/godot@eabb9a6
|
@pfchen Ah, I see, thanks for the explanation. At one point I think I got a wildly different error that threw me off because of my incremental builds -- I think I had a conflicting generated file somewhere. I cleaned my repository and was able to reproduce the issue. I'll push the change in a bit -- I need to merge this patch on a previous commit. This missing header issue is due to an upstream change. |
Due to upstream change: godotengine/godot@05c33ac
Due to upstream changes: godotengine/godot@4ae3367 godotengine/godot@d610492 godotengine/godot@9ffc7d9
Due to upstream change: godotengine/godot@658a237
67ecbd3 to
e7cfcdb
Compare
|
Nice stuff! Let's get this merged in a week or so. I'd like to give 1.7.1 some window to gather feedback in case it needs patching. |
No description provided.