为什么 sbt 会因“预期的 ';'”而失败?

Fei*_*hen 5 sbt chisel

当我从学习之旅项目运行示例凿子设计时,我看到如下错误:

    $ ./run-examples.sh SimpleALU
    ...
    [info] Set current project to chisel-tutorial (in build file:/home/fchen/work/learning-journey/)
    [error] Expected ';'
    [error] test:run-main examples.Launcher SimpleALU
    [error]                                          ^
Run Code Online (Sandbox Code Playgroud)

有谁知道可能出了什么问题?

Jac*_*nig 1

相反run-main,应该使用runMain. run-main几年前已被弃用并从 SBT 中删除。

作为一个温和的警告,该存储库有点过时,使用 Chisel 3.1.8,而最新版本是 3.3.2,3.4.0 即将发布。从技术上讲,3.1.8 只有一年的历史,但去年已经有了很大的发展。