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

[Bug] Failure loading windows library #42

Closed
DariusIMP opened this issue Feb 8, 2024 · 0 comments · Fixed by #41
Closed

[Bug] Failure loading windows library #42

DariusIMP opened this issue Feb 8, 2024 · 0 comments · Fixed by #41
Labels
bug Something isn't working

Comments

@DariusIMP
Copy link
Member

Describe the bug

On windows, we get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\....\AppData\Local\Temp\tempLib10649058771145031396: Can't find dependent libraries
    at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
    at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
    at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
    at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2389)
    at java.base/java.lang.Runtime.load0(Runtime.java:755)
    at java.base/java.lang.System.load(System.java:1953)
    at io.zenoh.Zenoh$Companion.loadZenohJNI(Zenoh.kt:125)
    at io.zenoh.Zenoh$Companion.tryLoadingLibraryFromJarPackage-IoAF18A(Zenoh.kt:137)
    at io.zenoh.Zenoh$Companion.access$tryLoadingLibraryFromJarPackage-IoAF18A(Zenoh.kt:29)
    at io.zenoh.Zenoh.<init>(Zenoh.kt:161)
    at io.zenoh.Zenoh.<init>(Zenoh.kt)
    at io.zenoh.Zenoh$Companion.load(Zenoh.kt:36)
    at io.zenoh.Session.<init>(Session.kt:81)
    at io.zenoh.Session.<init>(Session.kt)
    at io.zenoh.Session$Companion.open-d1pmJ48(Session.kt:64)

To reproduce

Create a project using the SNAPSHOT package of Zenoh-Kotlin.

Attempt to start a session.

System info

  • Windows
  • amd64 architecture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant