Open msink opened 5 years ago
Hi. Is it possible to support both, mingwX86
and mingwX64
? I was about to use libui for a project, but want to use mingwX64
target.
Done, in just published version 0.1.7. But it published for not yet announced Kotlin 1.3.70, so you can either
Thanks a lot!
I have a blocking reason... apparently the ktor-client-curl library went the opposite direction and only hosts a 64 bit build. So I'm having trouble making a program that uses kotlin-libui and also uses ktor-client-curl.
I'm sorry to ask, but I banged my head against the wall for an hour and perhaps I'm just bad at gradle. Is there any chance you could give an example build.gradle.kts for using the latest libui with kotlin eap? (my current gradle build is already based off your hello world)
You mean 64-bit only example?
Just pushed to kotlin-dev
branch of hello-libui
, works for me.
But I do not want to merge it to master
until Kotlin 1.3.70 will be finally released.
As Kotlin 1.3.31 now can build for 32-bit windows - I decided just switch windows build to 32-bit, and drop support for 64-bit windows, at least for now. Do not see any reasons for 64-bit windows executable for simple utilites. If anyone have significant reasons - please comment here, and I will create new target
windows_x64
To migrate - just replace in your build scripts
mingwX64
tomingwX86
, andmsys2-mingw-w64-x86_64-gcc-7.3.0-clang-llvm-lld-6.0.1
tomsys2-mingw-w64-i686-gcc-7.4.0-clang-llvm-6.0.1
. Gradle should be upgraded to 5.4 -gradle wrapper --gradle-version 5.4 --distribution-type all