ivanuska

  • 12 giu 2023
  • Si è iscritto 7 giu 2023
  • Seem to have resolved the problem by modifying SkeletonBounds:
    Vector<spine: : Polygon *> &SkeletonBounds::getPolygons() {
    return _polygons;
    }

    Is this a correct approach? Thanks Ivan

  • Hi Mario,
    One more question regarding compiling with Xcode (Visual Studio / PC works). Getting this error and failure on MacOS, Please advise:

    "Showing All Messages
    [6/20] Compile [Apple] Module.SpinePlugin.3_of_3.cpp
    In file included from /Users/xxx/Perforce/clones/Wormwood/Animacio/Unreal/Wormwood5.2/Plugins/SpinePlugin/Intermediate/Build/Mac/arm64/UnrealEditor/Development/SpinePlugin/Module.SpinePlugin.3_of_3.cpp:26:
    Vector<Polygon *> &SkeletonBounds::getPolygons() {
    ^
    /Users/xxx/Perforce/clones/Wormwood/Animacio/Unreal/Wormwood5.2/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp/src/spine/SkeletonBounds.cpp:193:8: reference to 'Polygon' is ambiguous
    typedef MacPolygon Polygon;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/Headers/Quickdraw.h:267:41: candidate found by name lookup is 'Polygon'
    class Polygon : public SpineObject {
    ^
    In file included from /Users/xxx/Perforce/clones/Wormwood/Animacio/Unreal/Wormwood5.2/Plugins/SpinePlugin/Intermediate/Build/Mac/arm64/UnrealEditor/Development/SpinePlugin/Module.SpinePlugin.3_of_3.cpp:26:
    /Users/xxx/Perforce/clones/Wormwood/Animacio/Unreal/Wormwood5.2/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp/include/spine/SkeletonBounds.h:110:8: candidate found by name lookup is 'spine:😛olygon'
    Vector<Polygon *> &SkeletonBounds::getPolygons() {
    ^
    /Users/xxx/Perforce/clones/Wormwood/Animacio/Unreal/Wormwood5.2/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp/src/spine/SkeletonBounds.cpp:193:8: reference to 'Polygon' is ambiguous
    typedef MacPolygon Polygon;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/Headers/Quickdraw.h:267:41: candidate found by name lookup is 'Polygon'
    class Polygon : public SpineObject {
    ^
    2 errors generated."

    In SkeletonBounds:
    Vector<Polygon *> &SkeletonBounds::getPolygons() {
    return _polygons;
    }
    thrown error is: reference to 'Polygon' is ambiguous

    Thank you,
    Ivan

  • Confirming that "const char toChar = TCHAR_TO_UTF8(data.To); ... Error: temporary whose address is used as value of local variable 'fromChar' will be destroyed at the end of the full-expression [-Werror,-Wdangling] "
    was affecting iOS Packaging also (UE5.2). The new update resolved the issue.