Mario
I'm following the docs and get a compile error.
ps@fw16 🏠 spine-runtimes/spine-godot 4.2
❯ ./build/setup.sh 4.1-stable false
./build/build-v4.sh
~/dev_github/spine-runtimes/spine-godot ~/dev_github/spine-runtimes/spine-godot/build ~/dev_github/spine-runt
Cloning into 'godot'...
remote: Enumerating objects: 10590, done.
remote: Counting objects: 100% (10590/10590), done.
remote: Compressing objects: 100% (8593/8593), done.
remote: Total 10590 (delta 2284), reused 6944 (delta 1736), pack-reused 0 (from 0)
Receiving objects: 100% (10590/10590), 42.63 MiB | 6.80 MiB/s, done.
Resolving deltas: 100% (2284/2284), done.
Note: switching to '970459615f6b2b4151742ec6d7ef8559f87fd5c5'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Updating files: 100% (10129/10129), done.
~/dev_github/spine-runtimes/spine-godot/build ~/dev_github/spine-runtimes/spine-godot
Building Godot without C# support
CPUS: 16
~/dev_github/spine-runtimes/spine-godot/godot ~/dev_github/spine-runtimes/spine-godot/build ~/dev_github/spin
scons: Reading SConscript files ...
/home/ps/dev_github/spine-runtimes/spine-godot/godot/methods.py:1022: SyntaxWarning: invalid escape sequence
"(?:(?<=version )|(?<=\) )|(?<=^))"
/home/ps/dev_github/spine-runtimes/spine-godot/godot/methods.py:1023: SyntaxWarning: invalid escape sequence
"(?P<major>\d+)"
/home/ps/dev_github/spine-runtimes/spine-godot/godot/methods.py:1024: SyntaxWarning: invalid escape sequence
"(?:\.(?P<minor>\d*))?"
/home/ps/dev_github/spine-runtimes/spine-godot/godot/methods.py:1025: SyntaxWarning: invalid escape sequence
"(?:\.(?P<patch>\d*))?"
/home/ps/dev_github/spine-runtimes/spine-godot/godot/methods.py:1027: SyntaxWarning: invalid escape sequence
"(?:\+(?P<metadata2>[0-9a-zA-Z-]*))?"
/home/ps/dev_github/spine-runtimes/spine-godot/godot/platform/linuxbsd/detect.py:451: SyntaxWarning: invalid
gnu_ld_version = re.search("^GNU ld [^$]*(\d+\.\d+)$", linker_version_str, re.MULTILINE)
/home/ps/dev_github/spine-runtimes/spine-godot/godot/platform/windows/detect.py:469: SyntaxWarning: invalid e
env.Append(LINKFLAGS=["/NATVIS:platform\windows\godot.natvis"])
Automatically detected platform: linuxbsd
Building for platform "linuxbsd", architecture "x86_64", target "editor".
Checking for C header file mntent.h... yes
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] run(["core/object/gdvirtual.gen.inc"], ["core/object/make_virtuals.py"])
[Initial build] Building ca-certificates header.
[Initial build] Compiling platform/linuxbsd/godot_linuxbsd.cpp ...
[Initial build] Compiling platform/linuxbsd/crash_handler_linuxbsd.cpp ...
[Initial build] Generating enabled modules header.
[Initial build] In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from ./core/object/ref_counted.h:34,
from ./core/io/resource_uid.h:34,
from ./core/io/resource.h:34,
from ./core/input/input_event.h:35,
from ./core/input/input.h:34,
from platform/linuxbsd/joypad_linux.h:36,
from platform/linuxbsd/os_linuxbsd.h:35,
from platform/linuxbsd/godot_linuxbsd.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
...
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Compiling modules/gridmap/grid_map.cpp ...
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from ./core/object/ref_counted.h:34,
from ./core/io/resource_uid.h:34,
from ./core/io/resource.h:34,
from ./core/io/resource_loader.h:34,
from ./core/io/resource_importer.h:34,
from ./editor/import/resource_importer_scene.h:35,
from modules/gltf/editor/editor_scene_importer_gltf.h:36,
from modules/gltf/editor/editor_scene_importer_gltf.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Compiling modules/gridmap/register_types.cpp ...
In file included from ./core/os/memory.h:35,
from ./core/templates/cowdata.h:35,
from ./core/string/ustring.h:37,
from ./core/string/string_name.h:35,
from ./core/string/node_path.h:34,
from ./scene/main/node.h:34,
from ./scene/3d/node_3d.h:34,
from modules/gridmap/grid_map.h:34,
from modules/gridmap/grid_map.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Linking Static Library modules/libmodule_gltf.linuxbsd.editor.x86_64.a ...
[Initial build] Compiling modules/gridmap/editor/grid_map_editor_plugin.cpp ...
In file included from ./core/os/memory.h:35,
from ./core/templates/cowdata.h:35,
from ./core/string/ustring.h:37,
from ./core/string/string_name.h:35,
from ./core/string/node_path.h:34,
from ./scene/main/node.h:34,
from ./scene/3d/node_3d.h:34,
from modules/gridmap/grid_map.h:34,
from modules/gridmap/register_types.cpp:35:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Compiling modules/hdr/image_loader_hdr.cpp ...
In file included from ./core/os/memory.h:35,
from ./core/templates/cowdata.h:35,
from ./core/string/ustring.h:37,
from ./core/string/string_name.h:35,
from ./core/string/node_path.h:34,
from ./scene/main/node.h:34,
from ./scene/3d/node_3d.h:34,
from modules/gridmap/editor/../grid_map.h:34,
from modules/gridmap/editor/grid_map_editor_plugin.h:36,
from modules/gridmap/editor/grid_map_editor_plugin.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Compiling modules/hdr/register_types.cpp ...
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from ./core/object/ref_counted.h:34,
from ./core/debugger/engine_profiler.h:34,
from ./core/core_bind.h:34,
from ./core/io/image_loader.h:34,
from modules/hdr/image_loader_hdr.h:34,
from modules/hdr/image_loader_hdr.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Linking Static Library modules/libmodule_gridmap.linuxbsd.editor.x86_64.a ...
[Initial build] In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from ./core/object/ref_counted.h:34,
from ./core/debugger/engine_profiler.h:34,
from ./core/core_bind.h:34,
from ./core/io/image_loader.h:34,
from modules/hdr/image_loader_hdr.h:34,
from modules/hdr/register_types.cpp:33:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Compiling thirdparty/jpeg-compressor/jpgd.cpp ...
[Initial build] Linking Static Library modules/libmodule_hdr.linuxbsd.editor.x86_64.a ...
[Initial build] Compiling thirdparty/jpeg-compressor/jpge.cpp ...
[Initial build] Ranlib Library modules/libmodule_hdr.linuxbsd.editor.x86_64.a ...
Ranlib Library modules/libmodule_gridmap.linuxbsd.editor.x86_64.a ...
[Initial build] Compiling modules/jsonrpc/jsonrpc.cpp ...
[Initial build] Compiling modules/jpg/register_types.cpp ...
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from modules/jsonrpc/jsonrpc.h:34,
from modules/jsonrpc/jsonrpc.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
[Initial build] Compiling modules/jpg/image_loader_jpegd.cpp ...
[Initial build] Ranlib Library modules/libmodule_gltf.linuxbsd.editor.x86_64.a ...
[Initial build] Compiling modules/jsonrpc/register_types.cpp ...
[Initial build] Building GLSL header: "modules/lightmapper_rd/lm_blendseams.glsl.gen.h"
[Initial build] Building GLSL header: "modules/lightmapper_rd/lm_compute.glsl.gen.h"
[Initial build] Building GLSL header: "modules/lightmapper_rd/lm_raster.glsl.gen.h"
[Initial build] Compiling modules/lightmapper_rd/register_types.cpp ...
[Initial build] Compiling modules/lightmapper_rd/lightmapper_rd.cpp ...
[Initial build] Compiling thirdparty/mbedtls/library/aes.c ...
[Initial build] Compiling thirdparty/mbedtls/library/aesni.c ...
[Initial build] Compiling thirdparty/mbedtls/library/arc4.c ...
[Initial build] Compiling thirdparty/mbedtls/library/aria.c ...
[Initial build] Compiling thirdparty/mbedtls/library/asn1parse.c ...
[Initial build] Compiling thirdparty/mbedtls/library/asn1write.c ...
[Initial build] Compiling thirdparty/mbedtls/library/base64.c ...
[Initial build] Compiling thirdparty/mbedtls/library/bignum.c ...
[Initial build] Compiling thirdparty/mbedtls/library/blowfish.c ...
[Initial build] Compiling thirdparty/mbedtls/library/camellia.c ...
[Initial build] Compiling thirdparty/mbedtls/library/ccm.c ...
[Initial build] Compiling thirdparty/mbedtls/library/certs.c ...
[Initial build] Compiling thirdparty/mbedtls/library/chacha20.c ...
[Initial build] Compiling thirdparty/mbedtls/library/chachapoly.c ...
[Initial build] Compiling thirdparty/mbedtls/library/cipher.c ...
[Initial build] Compiling thirdparty/mbedtls/library/cipher_wrap.c ...
[Initial build] Compiling thirdparty/mbedtls/library/cmac.c ...
[Initial build] Compiling thirdparty/mbedtls/library/ctr_drbg.c ...
[Initial build] Compiling thirdparty/mbedtls/library/constant_time.c ...
[Initial build] Compiling thirdparty/mbedtls/library/debug.c ...
[Initial build] Compiling thirdparty/mbedtls/library/des.c ...
[Initial build] Compiling thirdparty/mbedtls/library/dhm.c ...
[Initial build] Compiling thirdparty/mbedtls/library/ecdh.c ...
[Initial build] Compiling thirdparty/mbedtls/library/ecdsa.c ...
[Initial build] Compiling thirdparty/mbedtls/library/ecjpake.c ...
[Initial build] Compiling thirdparty/mbedtls/library/ecp.c ...
[Initial build] Compiling thirdparty/mbedtls/library/ecp_curves.c ...
[Initial build] Compiling thirdparty/mbedtls/library/entropy.c ...
[Initial build] Compiling thirdparty/mbedtls/library/entropy_poll.c ...
[Initial build] Compiling thirdparty/mbedtls/library/error.c ...
[Initial build] Compiling thirdparty/mbedtls/library/gcm.c ...
[Initial build] Compiling thirdparty/mbedtls/library/havege.c ...
[Initial build] Compiling thirdparty/mbedtls/library/hkdf.c ...
[Initial build] Compiling thirdparty/mbedtls/library/hmac_drbg.c ...
[Initial build] Compiling thirdparty/mbedtls/library/md2.c ...
[Initial build] Compiling thirdparty/mbedtls/library/md4.c ...
[Initial build] Compiling thirdparty/mbedtls/library/md5.c ...
[Initial build] In file included from thirdparty/glslang/SPIRV/SpvPostProcess.cpp:46:
thirdparty/glslang/SPIRV/SpvBuilder.h:236:30: error: 'uint32_t' has not been declared
236 | Id makeDebugLexicalBlock(uint32_t line);
| ^~~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:64:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probab
63 | #include <stack>
+++ |+#include <cstdint>
64 | #include <unordered_map>
thirdparty/glslang/SPIRV/SpvBuilder.h:426:21: error: 'uint32_t' has not been declared
426 | void enterScope(uint32_t line);
| ^~~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:426:21: note: 'uint32_t' is defined in header '<cstdint>'; this is prob
[Initial build] Compiling thirdparty/mbedtls/library/md.c ...
scons: *** [thirdparty/glslang/SPIRV/SpvPostProcess.linuxbsd.editor.x86_64.o] Error 1
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from modules/jsonrpc/jsonrpc.h:34,
from modules/jsonrpc/register_types.cpp:33:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplat
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
In file included from thirdparty/glslang/SPIRV/SpvBuilder.cpp:48:
thirdparty/glslang/SPIRV/SpvBuilder.h:236:30: error: 'uint32_t' has not been declared
236 | Id makeDebugLexicalBlock(uint32_t line);
| ^~~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:64:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probab
63 | #include <stack>
+++ |+#include <cstdint>
64 | #include <unordered_map>
thirdparty/glslang/SPIRV/SpvBuilder.h:426:21: error: 'uint32_t' has not been declared
426 | void enterScope(uint32_t line);
| ^~~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:426:21: note: 'uint32_t' is defined in header '<cstdint>'; this is prob
thirdparty/glslang/SPIRV/SpvBuilder.cpp:2130:4: error: no declaration matches 'spv::Id spv::Builder::makeDebu
2130 | Id Builder::makeDebugLexicalBlock(uint32_t line) {
| ^~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:236:8: note: candidate is: 'spv::Id spv::Builder::makeDebugLexicalBlock
236 | Id makeDebugLexicalBlock(uint32_t line);
| ^~~~~~~~~~~~~~~~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:78:7: note: 'class spv::Builder' defined here
78 | class Builder {
| ^~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.cpp:2172:6: error: no declaration matches 'void spv::Builder::enterScope(
2172 | void Builder::enterScope(uint32_t line)
| ^~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:426:10: note: candidate is: 'void spv::Builder::enterScope(int)'
426 | void enterScope(uint32_t line);
| ^~~~~~~~~~
thirdparty/glslang/SPIRV/SpvBuilder.h:78:7: note: 'class spv::Builder' defined here
78 | class Builder {
| ^~~~~~~
scons: *** [thirdparty/glslang/SPIRV/SpvBuilder.linuxbsd.editor.x86_64.o] Error 1
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from ./core/object/ref_counted.h:34,
from ./core/debugger/engine_profiler.h:34,
from ./core/core_bind.h:34,
from ./core/io/image_loader.h:34,
from modules/jpg/image_loader_jpegd.h:34,
from modules/jpg/register_types.cpp:33:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from ./core/object/message_queue.h:36,
from ./core/object/object.h:35,
from ./core/variant/binder_common.h:35,
from ./core/object/method_bind.h:34,
from ./core/object/class_db.h:34,
from ./core/object/ref_counted.h:34,
from ./core/debugger/engine_profiler.h:34,
from ./core/core_bind.h:34,
from ./core/io/image_loader.h:34,
from modules/jpg/image_loader_jpegd.h:34,
from modules/jpg/image_loader_jpegd.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from modules/lightmapper_rd/lightmapper_rd.h:34,
from modules/lightmapper_rd/register_types.cpp:33:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
In file included from ./core/os/memory.h:35,
from ./core/templates/local_vector.h:35,
from modules/lightmapper_rd/lightmapper_rd.h:34,
from modules/lightmapper_rd/lightmapper_rd.cpp:31:
./core/templates/safe_refcount.h:149:49: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
149 | _ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
| ^
./core/templates/safe_refcount.h:149:49: note: remove the '< >'
scons: building terminated because of errors.
[Time elapsed: 00:00:20.301]