Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failing #431

Open
sanjuchopracool opened this issue Jul 25, 2017 · 1 comment
Open

Build Failing #431

sanjuchopracool opened this issue Jul 25, 2017 · 1 comment

Comments

@sanjuchopracool
Copy link

sanjuchopracool commented Jul 25, 2017

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

@sanjuchopracool sanjuchopracool changed the title Not able to build getting errors Build Failing Jul 25, 2017
@acknapp
Copy link

acknapp commented Oct 22, 2020

The previous commit (91e5829 on Windows, or commit 5460822 on MacOS) before head builds and was committed on the same day (you can see it with a git log). To retrieve it, build, and run a working version do the following:

git checkout 91e58296eb89d21b8cdf06b977a31d7d8865df08 
git build
git run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants