Skip to content

Build Failing #431

@sanjuchopracool

Description

@sanjuchopracool

i am not able to build it. I tried importing the gradle project to IDEA and also tried with gradle command line tool. I am getting these errors. I don't have any experience with gradle, please help.

performing local build
:overlap2d-common-api:compileJava UP-TO-DATE
:overlap2d-common-api:processResources NO-SOURCE
:overlap2d-common-api:classes UP-TO-DATE
:overlap2d-common-api:jar UP-TO-DATE
:overlap2d-runtime-libgdx:compileJava UP-TO-DATE
:overlap2d-runtime-libgdx:processResources NO-SOURCE
:overlap2d-runtime-libgdx:classes UP-TO-DATE
:overlap2d-runtime-libgdx:jar UP-TO-DATE
:spine-runtime-libgdx:compileJava/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java:928: error: cannot find symbol
                        float[] vertices = verticesArray.setSize(vertexCount);
                                                        ^
  symbol:   method setSize(int)
  location: variable verticesArray of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java:592: error: cannot find symbol
                                vertices = temp.setSize(8);
                                               ^
  symbol:   method setSize(int)
  location: variable temp of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java:597: error: cannot find symbol
                                vertices = temp.setSize(verticesLength);
                                               ^
  symbol:   method setSize(int)
  location: variable temp of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java:195: error: cannot find symbol
                                if (firstFrame) current.timelinesRotation.setSize(timelineCount << 1);
                                                                         ^
  symbol:   method setSize(int)
  location: variable timelinesRotation of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java:238: error: cannot find symbol
                if (firstFrame) from.timelinesRotation.setSize(timelineCount << 1);
                                                      ^
  symbol:   method setSize(int)
  location: variable timelinesRotation of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java:724: error: cannot find symbol
                        int[] timelineData = this.timelineData.setSize(timelinesCount);
                                                              ^
  symbol:   method setSize(int)
  location: variable timelineData of type IntArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java:726: error: cannot find symbol
                        Object[] timelineDipMix = this.timelineDipMix.setSize(timelinesCount);
                                                                     ^
  symbol:   method setSize(int)
  location: variable timelineDipMix of type Array<TrackEntry>
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraint.java:109: error: cannot find symbol
                float[] spaces = this.spaces.setSize(spacesCount), lengths = null;
                                            ^
  symbol:   method setSize(int)
  location: variable spaces of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraint.java:112: error: cannot find symbol
                        if (scale) lengths = this.lengths.setSize(boneCount);
                                                         ^
  symbol:   method setSize(int)
  location: variable lengths of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraint.java:188: error: cannot find symbol
                float[] spaces = this.spaces.items, out = this.positions.setSize(spacesCount * 3 + 2), world;
                                                                        ^
  symbol:   method setSize(int)
  location: variable positions of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraint.java:201: error: cannot find symbol
                        world = this.world.setSize(8);
                                          ^
  symbol:   method setSize(int)
  location: variable world of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraint.java:256: error: cannot find symbol
                        world = this.world.setSize(verticesLength);
                                          ^
  symbol:   method setSize(int)
  location: variable world of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraint.java:264: error: cannot find symbol
                        world = this.world.setSize(verticesLength);
                                          ^
  symbol:   method setSize(int)
  location: variable world of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraint.java:269: error: cannot find symbol
                float[] curves = this.curves.setSize(curveCount);
                                            ^
  symbol:   method setSize(int)
  location: variable curves of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonRendererDebug.java:142: error: cannot find symbol
                                float[] vertices = this.vertices.setSize(mesh.getWorldVerticesLength());
                                                                ^
  symbol:   method setSize(int)
  location: variable vertices of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonRendererDebug.java:190: error: cannot find symbol
                                float[] vertices = this.vertices.setSize(nn);
                                                                ^
  symbol:   method setSize(int)
  location: variable vertices of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonRendererDebug.java:206: error: cannot find symbol
                                float[] vertices = this.vertices.setSize(nn);
                                                                ^
  symbol:   method setSize(int)
  location: variable vertices of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonBounds.java:76: error: cannot find symbol
                                        polygon.setSize(boundingBox.getWorldVerticesLength()), 0, 2);
                                               ^
  symbol:   method setSize(int)
  location: variable polygon of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonRenderer.java:176: error: cannot find symbol
                                vertices = this.vertices.setSize(verticesLength);
                                                        ^
  symbol:   method setSize(int)
  location: variable vertices of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonRenderer.java:308: error: cannot find symbol
                                vertices = this.vertices.setSize(verticesLength);
                                                        ^
  symbol:   method setSize(int)
  location: variable vertices of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonClipping.java:56: error: cannot find symbol
                float[] vertices = clippingPolygon.setSize(n);
                                                  ^
  symbol:   method setSize(int)
  location: variable clippingPolygon of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonClipping.java:122: error: cannot find symbol
                                        float[] clippedVerticesItems = clippedVertices.setSize(s + clipOutputCount * vertexSize);
                                                                                      ^
  symbol:   method setSize(int)
  location: variable clippedVertices of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonClipping.java:143: error: cannot find symbol
                                        short[] clippedTrianglesItems = clippedTriangles.setSize(s + 3 * (clipOutputCount - 2));
                                                                                        ^
  symbol:   method setSize(int)
  location: variable clippedTriangles of type ShortArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonClipping.java:154: error: cannot find symbol
                                        float[] clippedVerticesItems = clippedVertices.setSize(s + 3 * vertexSize);
                                                                                      ^
  symbol:   method setSize(int)
  location: variable clippedVertices of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonClipping.java:194: error: cannot find symbol
                                        short[] clippedTrianglesItems = clippedTriangles.setSize(s + 3);
                                                                                        ^
  symbol:   method setSize(int)
  location: variable clippedTriangles of type ShortArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonClipping.java:284: error: cannot find symbol
                        originalOutput.setSize(originalOutput.size - 2);
                                      ^
  symbol:   method setSize(int)
  location: variable originalOutput of type FloatArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/Triangulator.java:65: error: cannot find symbol
                short[] indices = indicesArray.setSize(vertexCount);
                                              ^
  symbol:   method setSize(int)
  location: variable indicesArray of type ShortArray
/home/sanju/OPEN_SOURCE/overlap2d/spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/Triangulator.java:70: error: cannot find symbol
                boolean[] isConcave = isConcaveArray.setSize(vertexCount);
                                                    ^
  symbol:   method setSize(int)
  location: variable isConcaveArray of type BooleanArray
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
28 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spine-runtime-libgdx:compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 0s
5 actionable tasks: 1 executed, 4 up-to-date

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions