https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
k

kikermo

12/03/2023, 10:04 AM
Hi, I am trying to build a compose multiplatform desktop project for linux. The gradle task succeeds, but no .deb file is generated anywhere. If I do the same for MacOS, it works fine. Did anyone experienced anything similar. I'm using
TargetFormat._Deb_
and the command being
:myapp:packageReleaseDeb
Thanks
m

Michael Paus

12/03/2023, 11:14 AM
Copy code
./gradlew packageReleaseDeb
works for me and the result should be located in
Copy code
desktopApp/build/compose/binaries/main-release/deb
These lines where taken directly from my working GitHub action config .yml file.
k

kikermo

12/03/2023, 11:54 AM
Thanks for your message Michael. That is where I was checking but unfortunately
deb
directory wan't created.
dmg
directory was created if I run
packageReleaseDmg
task Just to rule out, are you using Linux for development or MacOS?
m

Michael Paus

12/03/2023, 3:02 PM
I am using macOS for development but the above fragments are from the GitHub action for Linux of course. Running
packageReleaseDeb
is only supported on a Linux machine. You cannot cross build.
k

kikermo

12/03/2023, 3:06 PM
I suspected that but wasn't sure. Thanks for the information.
o

Oliver.O

12/03/2023, 3:13 PM
k

kikermo

12/03/2023, 4:52 PM
Thanks Oliver, I'll have a look.
13 Views