Open abramsba opened 2 years ago
Looked at the readme and noticed it should be commit 391633760b0ea292af079287faf79c1aee6d9254
, but I'm still receiving errors:
/home/bryan/Repositories/godex/modules/godot/nodes/ecs_world.cpp: In member function 'void WorldECS::sync_3d_transforms()':
/home/bryan/Repositories/godex/modules/godot/nodes/ecs_world.cpp:744:65: error: 'as_const' is not a member of 'std'; did you mean 'is_const'?
744 | const Storage<const TransformComponent> *storage = std::as_const(world)->get_storage<const TransformComponent>();
| ^~~~~~~~
| is_const
/home/bryan/Repositories/godex/modules/godot/nodes/ecs_world.cpp:744:94: error: expected primary-expression before 'const'
744 | const Storage<const TransformComponent> *storage = std::as_const(world)->get_storage<const TransformComponent>();
| ^~~~~
[Initial build] Compiling /home/bryan/Repositories/godex/modules/godot/nodes/entity.cpp ...
The compiler versions is fine, but also the scons command you used seems ok. Just a minor thing I noticed on your scons command: the custom_modules=
accept a directory that contains the modules and not a directory to a module.
Try to move godex into a direcotry, maybe call it modules
, and change your scons command to this:
scons -j$(nproc) platform=linuxbsd target=release_debug custom_modules="../modules"
In addition to the above, can you please try dev=yes
? It should enable the verbose mode. Then, can you please paste the full log here?
scons -j$(nproc) platform=linuxbsd target=release_debug custom_modules="../modules" dev=yes
Here to know more about these compiling options https://github.com/godotengine/godot/blob/master/SConstruct#L184-L191
Sorry to revive this old issue but the linux builds are still failing. Is there any motivation to get it working again?
I successfully compiled godot (8c729f0f34a92b92a1a8204e1d56b6ad05cfd27b) and the godex fork Beliar83/godex (f919dff8e53f49e6ef9473c3fe3a0098a8d6ee42) on manjaro after applying the fix from Issue 293
g++/gcc version: 12.1.0 scons version: 4.3.0
Following the instructions on the README, I've cloned both the godot and godex repositores and applied the patch.
When using scons I get an error that it's not able to find
initialize_godex_module
and so forth:According to issue https://github.com/GodotECS/godex/issues/284 it's only compatible with a certain commit, but that gives me different errors. I'm not sure if I'm missing a step or using the wrong commit.