- Uređeno
PS C:\GameDev\GodotEngine\Godot_3_5_Src\godot> scons module_mono_enabled=yes
scons: Reading SConscript files ...
Automatically detected platform: windows
Auto-detected 24 CPU cores available for build parallelism. Using 23 cores by default. You can override it with the -j argument.
Found MSVC version 14.2, arch x86_64
Building for platform "windows", architecture "x86_64", target "editor".
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[ 3%] Compiling main\main.cpp ...
[ 3%] main.cpp
[ 3%] Compiling modules\register_module_types.gen.cpp ...
[ 3%] register_module_types.gen.cpp
[ 18%] Compiling modules\gdscript\register_types.cpp ...
[ 18%] register_types.cpp
[ 18%] Compiling modules\gdscript\language_server\gdscript_extend_parser.cpp ...
gdscript_extend_parser.cpp
[ 18%] Compiling modules\gdscript\language_server\gdscript_language_protocol.cpp ...
[ 18%] Compiling modules\gdscript\language_server\gdscript_language_server.cpp ...
gdscript_language_protocol.cpp
gdscript_language_server.cpp
[ 18%] Compiling modules\gdscript\language_server\gdscript_text_document.cpp ...
[ 18%] Compiling modules\gdscript\language_server\gdscript_workspace.cpp ...
gdscript_text_document.cpp
gdscript_workspace.cpp
[ 20%] Compiling modules\gltf\gltf_document.cpp ...
[ 20%] gltf_document.cpp
[ 20%] Compiling modules\gltf\register_types.cpp ...
[ 20%] register_types.cpp
[ 20%] Compiling modules\gltf\editor\editor_scene_exporter_gltf_plugin.cpp ...
[ 20%] Compiling modules\gltf\editor\editor_scene_importer_blend.cpp ...
[ 20%] editor_scene_exporter_gltf_plugin.cpp
[ 20%] Compiling modules\gltf\editor\editor_scene_importer_fbx.cpp ...
[ 20%] Compiling modules\gltf\editor\editor_scene_importer_gltf.cpp ...
editor_scene_importer_blend.cpp
editor_scene_importer_fbx.cpp
editor_scene_importer_gltf.cpp
[ 26%] Compiling modules\navigation\navigation_mesh_generator.cpp ...
[ 26%] navigation_mesh_generator.cpp
[ 34%] Compiling modules\spine_godot\GodotSpineExtension.cpp ...
GodotSpineExtension.cpp
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\GodotSpineExtension.h(32): fatal error C1083: Cannot open include file: 'spine/Extension.h': No such file or directory
[ 34%] Compiling modules\spine_godot\SpineAnimation.cpp ...
SpineAnimation.cpp
[ 34%] Compiling modules\spine_godot\SpineAnimationState.cpp ...
SpineAnimationState.cpp
[ 34%] Compiling modules\spine_godot\SpineAnimationTrack.cpp ...
[ 34%] Compiling modules\spine_godot\SpineAtlasResource.cpp ...
SpineAnimationTrack.cpp
[ 34%] Compiling modules\spine_godot\SpineAttachment.cpp ...
SpineAtlasResource.cpp
[ 34%] Compiling modules\spine_godot\SpineBone.cpp ...
[ 34%] Compiling modules\spine_godot\SpineBoneData.cpp ...
SpineAttachment.cpp
SpineBone.cpp
SpineBoneData.cpp
scons: *** [modules\spine_godot\GodotSpineExtension.windows.editor.x86_64.obj] Error 2
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\SpineAnimation.h(34): fatal error C1083: Cannot open include file: 'spine/Animation.h': No such file or directory
scons: *** [modules\spine_godot\SpineAnimation.windows.editor.x86_64.obj] Error 2
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\SpineAtlasResource.h(36): fatal error C1083: Cannot open include file: 'spine/Atlas.h': No such file or directory
scons: *** [modules\spine_godot\SpineAnimationState.windows.editor.x86_64.obj] Error 2
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\SpineAtlasResource.h(36): fatal error C1083: Cannot open include file: 'spine/Atlas.h': No such file or directory
scons: *** [modules\spine_godot\SpineAtlasResource.windows.editor.x86_64.obj] Error 2
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\SpineAtlasResource.h(36): fatal error C1083: Cannot open include file: 'spine/Atlas.h': No such file or directory
scons: *** [modules\spine_godot\SpineAnimationTrack.windows.editor.x86_64.obj] Error 2
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\SpineAttachment.h(33): fatal error C1083: Cannot open include file: 'spine/spine.h': No such file or directory
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\SpineBoneData.h(34): fatal error C1083: Cannot open include file: 'spine/BoneData.h': No such file or directory
scons: *** [modules\spine_godot\SpineAttachment.windows.editor.x86_64.obj] Error 2
scons: *** [modules\spine_godot\SpineBone.windows.editor.x86_64.obj] Error 2
C:\GameDev\GodotEngine\Godot_3_5_Src\godot\modules\spine_godot\SpineBoneData.h(34): fatal error C1083: Cannot open include file: 'spine/BoneData.h': No such file or directory
scons: *** [modules\spine_godot\SpineBoneData.windows.editor.x86_64.obj] Error 2
scons: building terminated because of errors.
[Time elapsed: 00:00:16.617]
PS C:\GameDev\GodotEngine\Godot_3_5_Src\godot>
The process I've followed so far:
- Cloned Godot 3.5 branch.
- Cloned Spine Runtimes.
- Copy/pasted
spine_godot
folder from Runtimes to engine source in godot/modules. - Then followed compiling with mono instructions up until the "Enable the Mono module" step where I get the above error.
I have not run any of the included spine shell scripts as I'm unsure if/when I should do any of that.
EDIT: Assuming I have to go the shell script route where I have to modify the scripts to include the mono steps, I've been unsuccessful in running the default scripts as well:
The world of compiling from source, shell scripts and everything else related is completely foreign to me.