Rich2 / openstrat

Cross Platform Scala 2d graphics (but 3d compatible), basic geometry, maps, Earth maps, hex-tiling and strategy library(s).
https://richstrat.com
Apache License 2.0
22 stars 8 forks source link

sbt Build for web failing #107

Closed w0d closed 4 years ago

w0d commented 4 years ago

sbt build for web failing - errors..

run in sbt ~JsDev/fastOptJS

get errors: [error] Referring to non-existent method ostrat.Refs.array()[java.lang.Object [error] called from private ostrat.pParse.bracesParse$.loop$1(int,[java.lang.Object,ostrat.pParse.BracketOpen,scala.collection.mutable.ArrayBuffer)ostrat.EMon2 [error] called from ostrat.pParse.bracesParse$.apply(int,ostrat.pParse.BracketOpen,[java.lang.Object)ostrat.EMon2 [error] called from private ostrat.pParse.astParse$.loop$1(int,[java.lang.Object,scala.collection.mutable.ArrayBuffer)ostrat.EMon [error] called from ostrat.pParse.astParse$.apply([java.lang.Object)ostrat.EMon [error] called from private ostrat.StringImplicit$.$anonfun$parseStatements$1([java.lang.Object)ostrat.EMon [error] called from ostrat.StringImplicit$.parseStatements$extension(java.lang.String)ostrat.EMon [error] called from ostrat.StringImplicit$.findType$extension(java.lang.String,ostrat.Persist)ostrat.EMon [error] called from constructor learn.LessonD4.(ostrat.pCanv.CanvasPlatform)void [error] called from private ostrat.pSJs.AppsForJs$.$anonfun$theMap$49(ostrat.pCanv.CanvasPlatform)learn.LessonD4 [error] called from constructor ostrat.pSJs.AppsForJs$.()void [error] called from ostrat.pSJs.JsDevApp$.main(java.lang.String)void [error] called from ostrat.pSJs.JsDevApp$.$js$exported$meth$main(java.lang.String)java.lang.Object [error] exported to JavaScript with @JSExport [error] involving instantiated classes: [error] ostrat.pParse.bracesParse$ [error] ostrat.pParse.astParse$ [error] ostrat.StringImplicit$ [error] ostrat.pSJs.JsDevApp$

same on window & linux

w0d commented 4 years ago

did you try running the sbt command: clean as that should fix it!

w0d commented 4 years ago

great thanks