Giter Club home page Giter Club logo

Comments (9)

ucbjrl avatar ucbjrl commented on June 30, 2024

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

from chisel-tutorial.

ucbjrl avatar ucbjrl commented on June 30, 2024

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.

from chisel-tutorial.

DDRDmakar avatar DDRDmakar commented on June 30, 2024

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 (jdk and jre)
  • sbt
  • scala
    Or there are another dependences?

from chisel-tutorial.

ucbjrl avatar ucbjrl commented on June 30, 2024

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.

from chisel-tutorial.

DDRDmakar avatar DDRDmakar commented on June 30, 2024
        ...
        ...
        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]$

from chisel-tutorial.

ucbjrl avatar ucbjrl commented on June 30, 2024

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

from chisel-tutorial.

ucbjrl avatar ucbjrl commented on June 30, 2024

Could you try installing a version of sbt greater than 0.13?

from chisel-tutorial.

DDRDmakar avatar DDRDmakar commented on June 30, 2024

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

from chisel-tutorial.

ucbjrl avatar ucbjrl commented on June 30, 2024

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.

from chisel-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.