Closed surabibio closed 2 years ago
Same question. I've found out the old version is working well on windows 11.
sbt.version=1.4.7 ThisBuild / scalaVersion := "2.11.12" val spinalVersion = "1.6.4"
Hi,
ahh i missed this issue XD
So, it is due to the oshi library :/ What's a paine in the ass, depending the version, the library isn't working on linux nor windows 10 nor windows 11 nor mac. @eMApen Could you give me the full terminal messages ? so i can localize it 1.7.0.a ?
Thanks ^^
I pushed something in SpinalHDL dev which may fix it.
@surabibio @eMApen is it okay for you? Can be close this issue?
Sure. I think it works fine in win11 now.
This is the error I get in windows 11 On windows 10 it works well.
[info] [Progress] at 0.641 : Elaborate components [error] Exception in thread "main" java.lang.IllegalStateException: Unmapped relationship: 7 [error] at com.sun.jna.platform.win32.WinNT$SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX.fromPointer(WinNT.java:2999) [error] at com.sun.jna.platform.win32.Kernel32Util.getLogicalProcessorInformationEx(Kernel32Util.java:715) [error] at oshi.hardware.platform.windows.WindowsCentralProcessor.getLogicalProcessorInformationEx(WindowsCentralProcessor.java:168 [error] at oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:158) [error] at oshi.hardware.common.AbstractCentralProcessor.(AbstractCentralProcessor.java:73)
[error] at oshi.hardware.platform.windows.WindowsCentralProcessor.(WindowsCentralProcessor.java:77)
[error] at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:60)
[error] at oshi.util.Memoizer$1.get(Memoizer.java:87)
[error] at oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:66)
[error] at spinal.sim.SimManager$.liftedTree1$1(SimManager.scala:73)
[error] at spinal.sim.SimManager$.cpuCount$lzycompute(SimManager.scala:71)
[error] at spinal.sim.SimManager$.cpuCount(SimManager.scala:70)
[error] at spinal.sim.SimManager$.newCpuAffinity(SimManager.scala:83)