Been working lately on <Ligand>, a Kotlin Mutlipla...
# feed
m
Been working lately on Ligand, a Kotlin Mutliplatform application targeting Android, Windows and Linux. This app basically integrates 1) RDKit. a cheminformatics C++ library, 2) OPSIN Java library for chemical name to chemical structure conversion, 3) PubChem API fetched via Ktor to provide chemical structure nomenclature. 4) Google's filament for 3D graphics thanks to Erkko68 KMP wrapper. One notable experience was sharing C++ library like RDKit between Android, Linux, and Windows without duplicate platform-specific code. Another experience worth noting was managing to tie it all together in a unified GitHub Actions Release Workflow handling building, signing, and publishing for all targets at once. If you're interested in the Gradle setup, RDKit loading logic, or the CI/CD pipeline, feel free to check out the repo: github.com/mohammadmansour200/ligand Note on macOS: I don't own a Mac to compile RDKit or test Ligand, but pull requests from macOS developers are super welcome if anyone wants to help bring macOS support!
🔥 3
👍 2
j
Looks cool! I've no use case for this but wanted to try it. I'm on Windows, I get Failed to launch JVM both on the portable and installed version
m
Thanks alot :)) May I ask what architecture is your cpu?
j
Sure! x64 (Ryzen 7)
Btw, you need to set a menu option to get it to show up in the Start Menu on Windows.
menu = true
from my head, check the docs on native publishing 😉
m
Currently investigating into this error
Great idea, would surely add this later on after adding features like settings, export ...
Oh i misread your reply, thought you were talking about the menu bar.
github.com/mohammadmansour200/ligand/…/v1.2.1 Hope this simple gradle addition fixes it:
modules("java.instrument", "java.management", "jdk.security.auth", "jdk.unsupported")
Also assigned menu to true. Thanks for the feedback
j
Still get the launch error with that one (v1.2.1)
Start menu entry did show up 👍
❤️ 1
m
This is unfortunate :(( Would you like that I share with you a debug version with console enabled? I have to see the logs.
May it be an aggressive antivirus flagging Ligand’s core libraries?
Unfortunately Ligand isn’t code signed, so antiviruses might flag it