I'm trying to make a simple ui with "libui" on win...
# kotlin-native
k
I'm trying to make a simple ui with "libui" on windows but I can't get my code to start. After some tweaking it seems it wants a file at
<KONAN_DATA_DIR or user dir>/.konan/dependencies/msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/windres
But I have no idea what's supposed to be there
a
If I were you I would use gradle.
k
I don't understand, I copied the code from here https://github.com/msink/hello-libui/blob/master/build.gradle.kts
oh, conan is a c package manager?
a
After
gradlew build
you can found application in
build\bin\mingw\<appName>TestExecutable\
k
but the code doesn't build cause it can't find the file
a
1. What result of
gradlew build
? 2. Can you share your example on github/gitlab/…?
m
Did you start from cloning https://github.com/msink/hello-libui ?
a
Today I can’t use windows. I try it tomorrow.
k
I didn't clone as I already had a bunch of code, but I copied and moved my code to the "libuiMain" source set
and copied the resources
Ok, i have no idea what changed but it's now saying it's installing native dependencies
I'm getting the followin error while running my code. Any ideas what the issue could be?
Can't I close and recreate a window?