Hello, I'm trying to use kotlin/native to build a ...
# kotlin-native
f
Hello, I'm trying to use kotlin/native to build a simple .dll, but the resulting .dll is a 2MB file full of zeros, I cannot understand what I'm doing wrong. Here you can find a project that should reproduce the problem: https://github.com/francescopedronomnys/jni-dll-wrapper The gradle tasks I've tried are :linkNative and :build, both producing that empty .dll file. Just to explain the commented code you will find on the repo: my final goal is to wrap an existing .dll in another .dll that will expose JNI functions that will be used by a kotlin/jvm project using Compose as GUI. Thank you
Looks like it was totally my fault: the project I was opening with IDEA was on a network attached storage and that was causing this strange behavior, moved the code to windows desktop and now the produced DLL looks correct, I will perform further tests.