Open
Description
I've been attempting to work through the example from https://play.kotlinlang.org/hands-on/Introduction%20to%20Kotlin%20Native/01_Introduction but it's impossible to compile from a Windows machine.
The build.gradle.kts files listed on the web page do not work. For instance, this is not valid code:
compilations.main {
cinterops {
libcurl
}
}
I had to replace it with:
compilations { "main" {
cinterops {
val libCurl by cinterops.creating {
defFile(project.file("src/nativeInterop/cinterop/libcurl.def"))
}
}
}}
Metadata
Metadata
Assignees
Labels
No labels