I'm running Windows 7, 64 bit edition. I have Scala 2.8.1.final installed. I
also have the latest .NET framework installed. I used sbaz to download and
install the scala-msil package. I then wrote the following program
object HelloNET {
def main(args: Array[String]) {
println("Hello, World!")
}
}
I attempted to compile this with
scalac -target:msil HelloNET.scala
However the compiler terminates with an unhandled exception. In particular:
scala.tools.nsc.MissingRequirementError: class
scala.runtime.VolatileBooleanRef not found.
at
scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.scala:517)
at
scala.tools.nsc.symtab.Definitions$definitions$.getClass(Definitions.scala:475)
at
scala.tools.nsc.symtab.Definitions$definitions$.newValueClass(Definitions.scala:624)
at
scala.tools.nsc.symtab.Definitions$definitions$.BooleanClass(Definitions.scala:92)
at
scala.tools.nsc.symtab.Definitions$definitions$.initValueClasses(Definitions.scala:647)
at
scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:791)
at scala.tools.nsc.Global$Run.<init>(Global.scala:604)
at scala.tools.nsc.Main$.process(Main.scala:105)
at scala.tools.nsc.Main$.main(Main.scala:120)
at scala.tools.nsc.Main.main(Main.scala)
error: fatal error: class scala.runtime.VolatileBooleanRef not found.
I looked around on the 'net a little and I can see that Scala for .NET is a
work in progress. Still... is it expected for it to not work at all here, or
am I doing something wrong?
Thanks!
Peter
> I know many developers like yourself are eager to start growing the
> Scala.NET ecosystem, but more work is needed in the compiler. The good
> news is that we'll get faster to Scala.NET now that other pieces are in
> place.
Thanks for the information. I do understand that it takes time for these
things to come together and I appreciate all the work you (and others) have
done on it. It's great the hear that development on Scala.NET is moving
forward. In the meantime I'll add myself to the list of developers who are
interested in using the technology once it is ready.
Thanks again!
Peter