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 issue default startup LibGDX project with GWT and VisUI #363

Closed
pkruczynski opened this issue May 5, 2021 · 3 comments
Closed

Build issue default startup LibGDX project with GWT and VisUI #363

pkruczynski opened this issue May 5, 2021 · 3 comments
Labels

Comments

@pkruczynski
Copy link

LibGdx: 1.10.0
VisUI: 1.3.0, 1.4.0
Gwt: 2.8.2

I can run the application in superDev mode but the gradle task compileGwt fails with an error:

> Task :gwt:compileGwt
Compiling module GdxDefinition
   Tracing compile failure path for type 'com.kotcrab.vis.ui.widget.spinner.Spinner'
      [ERROR] Errors in 'com/kotcrab/vis/ui/widget/spinner/Spinner.java'
         [ERROR] Line 169: The method scrolled(InputEvent, float, float, int) of type new InputListener(){} must override or implement a supertype method
   Tracing compile failure path for type 'com.kotcrab.vis.ui.widget.tabbedpane.TabbedPane'
      [ERROR] Errors in 'com/kotcrab/vis/ui/widget/tabbedpane/TabbedPane.java'
         [ERROR] Line 312: Type mismatch: cannot convert from element type ObjectMap.Entry<Tab,TabbedPane.TabButtonTable> to Entry
         [ERROR] Line 38: The import com.badlogic.gdx.utils.IdentityMap.Entry cannot be resolved
         [ERROR] Line 312: Entry cannot be resolved to a type
   Tracing compile failure path for type 'com.kotcrab.vis.ui.widget.Draggable'
      [ERROR] Errors in 'com/kotcrab/vis/ui/widget/Draggable.java'
         [ERROR] Line 123: The method scrolled(InputEvent, float, float, int) of type new InputListener(){} must override or implement a supertype method
   [ERROR] Aborting compile due to errors in some input files

> Task :gwt:compileGwt FAILED

This makes it impossible to build a distribution GWT with the gradle dist task

@czyzby
Copy link
Collaborator

czyzby commented May 5, 2021

VisUI 1.4.11 is the latest stable version of VisUI and it currently does not officially support libGDX 1.10.0. In the meanwhile, if you encounter the error with the latest VisUI version, please downgrade the libGDX dependency to 1.9.12.

@czyzby
Copy link
Collaborator

czyzby commented May 11, 2021

@pkruczynski Can to try to recompile the application with VisUI 1.5.0?

@czyzby
Copy link
Collaborator

czyzby commented Aug 25, 2022

Closing due to the lack of activity, please reopen the issue if the problem persists.

@czyzby czyzby closed this as completed Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants