Can somebody see what makes my cinterop setup brea...
# kotlin-native
j
Can somebody see what makes my cinterop setup break since 1.4-M3? It is still broken for all targets in 1.4.0-rc. It fails with:
Copy code
Exception in thread "main" java.nio.file.NoSuchFileException: libobjectiveRocks-macOS.a
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:526)
	at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
	at java.nio.file.Files.copy(Files.java:1274)
	at org.jetbrains.kotlin.konan.file.File.copyTo(File.kt:64)
Build.gradle: https://github.com/marykdb/rocksdb-multiplatform/blob/kotlin-1.4/build.gradle.kts Cinterop file (MacOS) https://github.com/marykdb/rocksdb-multiplatform/blob/kotlin-1.4/src/nativeInterop/cinterop/rocksdbMacOS.def I already opened a Youtrack issue over a week ago but had no answer. Would love to try the release candidate on my main project but this is holding me back. https://youtrack.jetbrains.com/issue/KT-40508
👍 1
n
This code looks so nice! I don’t know the answer to your question, but with the latest RC, you don’t need to declare a dependency on the standard lib anymore
a
Hello, @Jurriaan Mous! Sorry for such a long silence and great thanks for your report, we’ve finally found the problem’s cause. Please wait for updates in the YouTrack ticket.
j
@Nick Thanks 😄 And yes I was aware but did not do the change yet. It is a great change to not need to set it up anymore!
👍 1
@Artyom Degtyarev [JB] Great to hear! I look forward to the fix. Thanks for all the great work! 👏