I’m working on testing the 1.4.0-RC for a library,...
# kotlin-native
n
I’m working on testing the 1.4.0-RC for a library, and I’m getting:
Copy code
e: Could not find "posix" in [/Users/[user]/Developer/IdeaProjects/kgl/kgl-glfw, /Users/[user]/.konan/klib, /Users/[user]/.konan/kotlin-native-prebuilt-macos-1.4-rc1-40/klib/common, /Users/[user]/.konan/kotlin-native-prebuilt-macos-1.4-rc1-40/klib/platform/macos_x64].
I checked in the klib directory, and in 1.3.72 there is a “posix” folder inside
~/.konan/kotlin-native-macos-1.3.72/klib/platform
, and in 1.4.0-RC, that folder is called “org.jetbrains.kotlin.native.platform.posix”. Anyone know what’s going on there? I’m working with the new hierarchical mpp setup if that makes a difference
s
Please ensure that your dependencies are built with 1.4.0-RC too.
n
They are. The issue was actually a
depends = posix
in the cinterop def. Removing the
depends
fixes the issue
s
I see. Thanks for the update.
The issue was actually a 
depends = posix
 in the cinterop def
Using
depends =
in
.def
files is neither required nor recommended.
n
yeah it was a leftover from older versions that hadn’t broken yet, so noone noticed. 😅
😄 1
😅 1