Any help is appreciated.
Thank you very much!Max
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/437a3c1c-17aa-4d41-9560-3cabde2aa16f%40googlegroups.com.
On 4/8/20 3:08 PM, 洪嘉鴻 wrote:
lxn/walk use lxn/win, which wraps windows api,so you can not use it under linuxHello everyone:I use golang with Win10. I want to build GUI executables which can work on Linux.I found this and I could build GUI executable which can work on Windows.However, I couldn't build GUI executable which can work on Linux with the followings:
cd %~dp0set GOOS=linuxset GOARCH=amd64go build -v -o gradientcomposite gradientcomposite.gopauseIs there something wrong with cross-compiler or could "lxn/walk" only work on Windows?
--
Any help is appreciated.
Thank you very much!Max
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f6edf972-3f86-6eee-cc92-3568970ed8ef%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/5110745a-8dfa-00b6-cb8e-dd6f2d19a809%40gmail.com.
There are a few options, but it rather depends on what you need to do. The most similar to walk for linux would be go-gtk3. However, for cross-platform, probably the QT bindings. If you want to go the embedded html route, there are a few different options. I personally like Wails. Here is a breakdown of some of the options so that you can research which one fits your needs:
On Wed, Apr 8, 2020 at 3:42 AM Kevin Chadwick <m8il...@gmail.com> wrote:
>> lxn/walk use lxn/win, which wraps windows api,so you can not use it under linux
> You could also look into wsl.
oops, ignore my last.
I'm not sure there is a "Good" cross platform scenario for GO/html that matches
GOs cross platform abilities, at the moment. Desktop sure but not really, mobile
and desktop at the same time, fyne maybe.
I'm looking at running chrome with --app and and then webview on mobile, both
with a local http server.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f6edf972-3f86-6eee-cc92-3568970ed8ef%40gmail.com.
I want to run executables on both Windows and Linux.I don't think it is convenient to maintain 2 codes with lxn/walk on Windows and go-gtk3 on Linux.