Exception in thread "main" java.lang.Error: $HOME/.sdkman/candidates/java/17.0.7-tem/include/jni.h:40:10: fatal error: 'stdarg.h' file not found
at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:275)
at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.precompileHeaders(Utils.kt:418)
at org.jetbrains.kotlin.native.interop.gen.StubIrContext.<init>(StubIrDriver.kt:46)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:361)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLibSafe(main.kt:257)
at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.main(main.kt:76)
someone any idea how to solve that ?
t
Troels Lund
02/22/2024, 10:16 AM
This is typically caused by kotlin/native not finding the expected version of the downloaded dependencies. Have you modified
konan.properties
or the contents of
${HOME}/.konan
?
a
Anton Saatze
02/23/2024, 7:15 AM
Thanks for your reply.
I already solved the issue.
Yes I had changes in