23 May 2024 |
Tomasz Godzik | Och, that's not what I meant but it might actually point to something | 15:34:20 |
Michael D | He's talking about the JDK version, might wanna try Java 11, 17, or 21 | 15:43:57 |
| Michael D changed their display name from yeoldeporkchop to Michael D. | 15:43:58 |
Tomasz Godzik | Yeah, it doesn't seem to be the issue, I think? | 15:44:24 |
_tibor_ | I got it now... Updated to jdk 21. Now it works | 15:45:46 |
_tibor_ | Thanks for the help. Would be beneficial to add this to the getting started page as requisites. | 15:48:58 |
Michael D | It's tucked back a little but under the "Configure Java Version" on this page: https://scalameta.org/metals/docs/editors/vscode. | 15:52:27 |
Michael D | Pretty easy to miss | 15:52:50 |
| Jesse (jsatk) changed their profile picture. | 17:01:56 |
spamegg1 | Almost always the issue is the JVM version 😄 | 17:20:34 |
24 May 2024 |
im_bharadwajj | ThisBuild / version := "1.0" ThisBuild / scalaVersion := "2.12.18" ThisBuild / organization := "org.example"
val spinalVersion = "1.10.1" val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion)
lazy val projectname = (project in file(".")) .settings( Compile / scalaSource := baseDirectory.value / "hw" / "spinal", libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin) )
fork := true this is | 05:45:50 |
im_bharadwajj | this is my sbt file | 05:45:57 |
spamegg1 | Is the project on Github? So I can try it | 06:21:56 |
spamegg1 | But of course I don't have any of your source files, so maybe those have issues... | 06:28:18 |
spamegg1 | Try changing JVM and Bloop versions, maybe it helps. | 06:29:48 |
spamegg1 | Download Screenshot_from_2024-05-24_09-33-51.png | 06:34:36 |
spamegg1 | Hmm... I'm not getting any errors in Metals. Definitely something strange here | 06:34:36 |
im_bharadwajj | can I share the project through any link ? | 07:11:52 |
im_bharadwajj | can you check it if possible? | 07:12:10 |
im_bharadwajj | this is my complete project folder https://github.com/sai-deepgrid/Spinal/tree/main | 08:29:34 |
spamegg1 | Redacted or Malformed Event | 09:13:38 |
spamegg1 | Download metals.log | 09:16:15 |
spamegg1 | I get the import failed, functionality won't work error. Here are the logs | 09:16:15 |
Tomasz Godzik | Does JDK 21 even work with Scala 2.12.15? | 09:24:19 |
Tomasz Godzik | I would try bumping to newest Scala | 09:24:27 |
Tomasz Godzik | should be an issue in the code | 09:24:37 |
spamegg1 | Download Screenshot_from_2024-05-24_12-26-36.png | 09:26:53 |
spamegg1 | These are both 17. | 09:26:53 |
spamegg1 | AS ALWAYS it's the Java version 😄 | 09:28:29 |
im_bharadwajj | can explain me how to do it,, would be a great help if you do so. | 09:47:08 |