Closed DDRDmakar closed 4 years ago
This is quite an old version of chisel-tutorial (excuse us for not tagging a more recent release). Please try cloning the current head of the release branch:
git clone https://github.com/ucb-bar/chisel-tutorial.git
cd chisel-tutorial
git checkout release
git pull
I've just bumped the current release to match the tip of the release branch.
NOTE: we expect you to build chisel-tutorial from source, by cloning the GitHub repository and checking out the release branch.
The appropriate versions of sbt
and Scala
will be selected by the project/build.properties
and build.sbt
in the release branch commits.
Thanks for the quick support!
I cloned branch "origin/release" into empty directory and tried "sbt run" again, but get the same error.
Am I right, that it's enough to have this installed to build chisel tutorial?
java
and sbt
are the only dependencies. sbt
should download any required dependencies (including the correct version of Scala
). The errors look like the sbt
version is incorrect. Could you please try running the following in the chisel-tutorial folder:
sbt about
and past the results in this issue.
...
...
at xsbt.boot.Boot$.run(Boot.scala:26)
at xsbt.boot.Boot$.main(Boot.scala:21)
at xsbt.boot.Boot.main(Boot.scala)
[error] sbt.compiler.EvalException: Type error in expression
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[info] This is sbt 1.3.10
[info] No project is currently loaded
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.6
[DDRDmakar@localhost chisel-tutorial]$
There's something fundamentally wrong with your sbt
. sbt 1.3.10 requires Scala 2.12. You should be seeing something like:
[info] Loading project definition from .../chisel-tutorial/project
[info] Loading settings for project chisel-tutorial from build.sbt ...
[info] Set current project to chisel-tutorial (in build file:.../chisel-tutorial/)
[info] This is sbt 1.3.10
[info] The current project is ProjectRef(uri("file:.../chisel-tutorial/"), "chisel-tutorial") 3.3.0
[info] The current project is built against Scala 2.12.10
[info] Available Plugins
[info] - com.typesafe.sbt.SbtPgp
[info] - sbt.ScriptedPlugin
[info] - sbt.plugins.CorePlugin
[info] - sbt.plugins.Giter8TemplatePlugin
[info] - sbt.plugins.IvyPlugin
[info] - sbt.plugins.JUnitXmlReportPlugin
[info] - sbt.plugins.JvmPlugin
[info] - sbt.plugins.SbtPlugin
[info] - sbt.plugins.SemanticdbPlugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.12.10
Could you try installing a version of sbt
greater than 0.13?
Yes, it's something wrong with sbt from fedora repositories.
I tried another machine with antiX linux and everything works perfect there!
"sbt about" on antiX gives exactly the same results as in your comment.
So, it's better to use official repository from SBT website:
[https://www.scala-sbt.org/download.html]()
YaY
Good to hear.
sbt
0.13.1 dates from Dec 10, 2013. This is incredible. Fedora 30, whose release was announced in April, 2019, includes sbt 0.13.1 as their default (and only) version of sbt
.
Hello, I'm a beginner in chisel.
My system is:
x86_64 linux Fedora 30
I installed sbt (0.13.1) and scala (2.10.6)
my java:
I cloned your repo as it shown in readme
But I get an exception when trying to run "sbt run". The console log is here: