Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32-bit windows target #20

Open
msink opened this issue Apr 11, 2019 · 5 comments
Open

32-bit windows target #20

msink opened this issue Apr 11, 2019 · 5 comments

Comments

@msink
Copy link
Owner

msink commented Apr 11, 2019

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

@Linux13524
Copy link

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.

@msink
Copy link
Owner Author

msink commented Dec 28, 2019

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.

@Linux13524
Copy link

Thanks a lot!

@alexbobp
Copy link

alexbobp commented Jan 11, 2020

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)

@msink
Copy link
Owner Author

msink commented Jan 11, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants