GraphStream Users

Archives de la liste Aide


Problems building gs-ui


Chronologique Discussions 
  • From: "Till Fischer" <tifischer AT itemis.de>
  • To: graphstream-users AT litislab.fr
  • Subject: Problems building gs-ui
  • Date: Fri, 18 Aug 2017 15:49:56 +0000

Hello,

I just cloned the latest version of graphstream from the git repository. I cannot build gs-ui on my machine.

I'm using a windows machine with maven version 3.5.0. Building "gs-core" and "gs-algo" succeeded without problems.

I never used Scala before and cannot make any sense out of the error messages below... any hints would be appreciated!

Thanks,
Till


This is the build log:

[INFO] Compiling 53 source files to C:\git\graphstream\gs-ui\bin\classes at 1499698542959
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\J2DGraphRenderer.scala:42: error: object GraphRenderer is not a member of package org.graphstream.ui.swingViewer
[INFO] import org.graphstream.ui.swingViewer.{GraphRenderer, LayerRenderer}
[INFO]        ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\J2DGraphRenderer.scala:78: error: not found: type GraphRenderer
[INFO] class J2DGraphRenderer extends GraphRenderer with StyleGroupListener {
[INFO]                                ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\J2DGraphRenderer.scala:91: error: not found: type LayerRenderer
[INFO]  protected var backRenderer:LayerRenderer = null
[INFO]                                    ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\J2DGraphRenderer.scala:94: error: not found: type LayerRenderer
[INFO]  protected var foreRenderer:LayerRenderer = null
[INFO]                                    ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\J2DGraphRenderer.scala:258: error: not found: type LayerRenderer
[INFO]  protected def renderLayer(renderer:LayerRenderer) {
[INFO]                                            ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\J2DGraphRenderer.scala:318: error: not found: type LayerRenderer
[INFO]  def setBackLayerRenderer(renderer:LayerRenderer) { backRenderer = renderer }
[INFO]                                           ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\J2DGraphRenderer.scala:320: error: not found: type LayerRenderer
[INFO]  def setForeLayoutRenderer(renderer:LayerRenderer) { foreRenderer = renderer }
[INFO]                                            ^
[WARNING] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\JComponentRenderer.scala:139: warning: fruitless type test: a value of type Option[JComponentRenderer.this.ComponentElement] cannot also be a JComponentRenderer.this.ComponentElement
[INFO]                  case e:ComponentElement => { e.detach }
[INFO]                                ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\AllSwingTest.scala:59: error: overloaded method value add with alternatives:
[INFO]   (x$1: java.awt.Component,x$2: Any)Unit <and>
[INFO]   (x$1: java.awt.Component,x$2: Int)java.awt.Component <and>
[INFO]   (x$1: String,x$2: java.awt.Component)java.awt.Component
[INFO]  cannot be applied to (org.graphstream.ui.view.View, String)
[INFO]          add(v.addDefaultView(false), BorderLayout.CENTER)
[INFO]                 ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestArrows.scala:61: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView("view1", new J2DGraphRenderer )
[INFO]                                                      ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestFillImage.scala:56: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView( "view1", new J2DGraphRenderer )
[INFO]                                                       ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestFreePlane.scala:59: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView( "view1", new J2DGraphRenderer )
[INFO]                                                       ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestIcons.scala:59: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView( "view1", new J2DGraphRenderer )
[INFO]                                                       ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestShapeDecor.scala:59: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView( "view1", new J2DGraphRenderer )
[INFO]                                                       ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestSize.scala:62: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView( "view1", new J2DGraphRenderer /*new org.graphstream.ui.swingViewer.basicRenderer.SwingBasicGraphRenderer*/ )
[INFO]                                                       ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestSprites.scala:63: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView( "view1", new J2DGraphRenderer )
[INFO]                                                       ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestStars.scala:57: error: type mismatch;
[INFO]  found   : org.graphstream.ui.j2dviewer.J2DGraphRenderer
[INFO]  required: org.graphstream.ui.view.GraphRenderer[_, _]
[INFO]          val view   = viewer.addView( "view1", new J2DGraphRenderer )
[INFO]                                                       ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestTwoViewersInOneFrame.scala:67: error: type mismatch;
[INFO]  found   : org.graphstream.ui.view.GraphRenderer[?0,?1] where type ?1, type ?0
[INFO]  required: org.graphstream.ui.swingViewer.SwingGraphRenderer
[INFO]     val view1 = new DefaultView(viewer1, "view1", Viewer.newGraphRenderer)
[INFO]                                                          ^
[ERROR] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\j2dviewer\renderer\test\TestTwoViewersInOneFrame.scala:68: error: type mismatch;
[INFO]  found   : org.graphstream.ui.view.GraphRenderer[?0,?1] where type ?1, type ?0
[INFO]  required: org.graphstream.ui.swingViewer.SwingGraphRenderer
[INFO]     val view2 = new DefaultView(viewer1, "view2", Viewer.newGraphRenderer)
[INFO]                                                          ^
[WARNING] C:\git\graphstream\gs-ui\src-scala\org\graphstream\ui\util\AttributeUtils.scala:47: warning: non-variable type argument AnyRef in type pattern scala.collection.mutable.WrappedArray[AnyRef] is unchecked since it is eliminated by erasure
[INFO]                          case b:WrappedArray[AnyRef] => getPoints(b.toArray)
[INFO]                                ^
[WARNING] two warnings found
[ERROR] 18 errors found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------





  • Problems building gs-ui, Till Fischer, 18/08/2017

Archives gérées par MHonArc 2.6.16.

Top of page