kotlin-libui icon indicating copy to clipboard operation
kotlin-libui copied to clipboard

32-bit windows target

Open msink opened this issue 6 years ago • 5 comments

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 to mingwX86, and msys2-mingw-w64-x86_64-gcc-7.3.0-clang-llvm-lld-6.0.1 to msys2-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

msink avatar Apr 11 '19 12:04 msink

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.

Linux13524 avatar Dec 27 '19 11:12 Linux13524

Done, in just published version 0.1.7. But it published for not yet announced Kotlin 1.3.70, so you can either

  • wait for official Kotlin 1.3.70 release
  • use 1.3.70-eap-42 from kotlin-dev bintray repository
  • compile libui for Kotlin 1.3.61 youself.

msink avatar Dec 28 '19 11:12 msink

Thanks a lot!

Linux13524 avatar Dec 28 '19 15:12 Linux13524

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)

alexbobp avatar Jan 11 '20 11:01 alexbobp

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.

msink avatar Jan 11 '20 12:01 msink