Closed RhythmLunatic closed 2 years ago
Sorry, I see the issue. I named it spine-runtime
instead of spine_runtime
.
Another problem. Compiling with Clang will also give an error.
[Initial build] Compiling ==> modules/spine_runtime/SpineAnimation.cpp
modules/spine_runtime/SpineAnimation.cpp: In member function 'Array SpineAnimation::get_timelines()':
modules/spine_runtime/SpineAnimation.cpp:54:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
54 | for (size_t i=0; i<res.size(); ++i) {
| ~^~~~~~~~~~~
modules/spine_runtime/SpineAnimation.cpp: In member function 'bool SpineAnimation::has_timeline(Array)':
modules/spine_runtime/SpineAnimation.cpp:68:24: error: conversion from 'Variant' to 'long long int' is ambiguous
68 | list[i] = ids[i];
| ^
In file included from ./core/method_ptrcall.h:36,
from ./core/method_bind.h:35,
from ./core/class_db.h:34,
from ./core/resource.h:34,
from ./core/variant_parser.h:35,
from modules/spine_runtime/SpineAnimation.h:9,
from modules/spine_runtime/SpineAnimation.cpp:5:
I'm not sure what the correct type should be but I cast it to (signed long)
for now
I did
git clone https://github.com/godotengine/godot.git -b 3.x
Then cloned this repo and renamed the folder to spine-runtime and put it in modules.