rayxuln / spine-runtime-for-godot

This project is a module for godot that allows it to load/play Spine skeleton animation.
MIT License
93 stars 22 forks source link

Fix ambiguous errors #59

Open yancouto opened 2 years ago

yancouto commented 2 years ago

This is an error I found while building this library to Mac.

[Initial build] modules/spine_runtime/SpineSprite.cpp:795:43: error: conversion from 'size_t' (aka 'unsigned long') to 'const Variant' is ambiguous
        String prefix = vformat("ca/%d/", i);

It was an easy fix and the build worked after fixing this.

DarknessCatt commented 1 year ago

I also had some problems while compiling for osx (10.13) and this solved the issues.