Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors running showRTL() #29

Open
soartang opened this issue Jan 18, 2024 · 1 comment
Open

Errors running showRTL() #29

soartang opened this issue Jan 18, 2024 · 1 comment

Comments

@soartang
Copy link

scala version 2.12.18
almond 0,5
jdk 1.8
os: windows 11

No matter with VSCODE or Jupyter, showRTL() produces the errors:

java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
  com.sun.jna.Structure.fieldOrder(Structure.java:936)
  com.sun.jna.Structure.getFields(Structure.java:962)
  com.sun.jna.Structure.deriveLayout(Structure.java:1129)
  com.sun.jna.Structure.calculateSize(Structure.java:1053)
  com.sun.jna.Structure.calculateSize(Structure.java:1006)
  com.sun.jna.Structure.allocateMemory(Structure.java:393)
  com.sun.jna.Structure.<init>(Structure.java:184)
  com.sun.jna.Structure.<init>(Structure.java:172)
  com.sun.jna.Structure.<init>(Structure.java:159)
  com.sun.jna.Structure.<init>(Structure.java:151)
  com.sun.jna.platform.win32.WinNT$OSVERSIONINFOEX.<init>(WinNT.java:1934)
  com.sun.jna.platform.win32.VersionHelpers.IsWindowsVersionOrGreater(VersionHelpers.java:59)
  com.sun.jna.platform.win32.VersionHelpers.IsWindows7OrGreater(VersionHelpers.java:154)
  oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:157)
  oshi.hardware.common.AbstractCentralProcessor.<init>(AbstractCentralProcessor.java:73)
  oshi.hardware.platform.windows.WindowsCentralProcessor.<init>(WindowsCentralProcessor.java:77)
  oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:60)
  oshi.util.Memoizer$1.get(Memoizer.java:87)
  oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:66)
  spinal.sim.SimManager$.cpuCount$lzycompute(SimManager.scala:72)
  spinal.sim.SimManager$.cpuCount(SimManager.scala:70)
  spinal.sim.SimManager$.newCpuAffinity(SimManager.scala:76)
  spinal.core.fiber.EngineContext.<init>(AsyncCtrl.scala:17)
  spinal.core.fiber.Engine$.create(AsyncCtrl.scala:143)
...
  spinal.core.SpinalConfig.generate(Spinal.scala:163)
  ammonite.$file.dummy.source.load$minusspinal$Helper.showRtl(Main.sc:38)
  ammonite.$sess.cmd12$Helper.<init>(cmd12.sc:7)
  ammonite.$sess.cmd12$.<init>(cmd12.sc:7)
  ammonite.$sess.cmd12$.<clinit>(cmd12.sc:-1)

Is there a way to fix this?

@thundersnark
Copy link

I encountered the same problem.Has anyone solved this problem?It's been 6 years now. T_T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants