I see.
Thank you very much!
Max

sanye於 2020年4月8日星期三 UTC+8下午3時21分55秒寫道:
>
>
> On 4/8/20 3:08 PM, 洪嘉鴻 wrote:
>
> Hello everyone:
> I use golang with Win10. I want to build GUI executables which can work on 
> Linux.
> I found this 
> <https://github.com/lxn/walk/tree/master/examples/gradientcomposite> 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 %~dp0
>        set GOOS=linux
>        set GOARCH=amd64
>        go build -v -o gradientcomposite gradientcomposite.go
>        pause
>       
> Is there something wrong with cross-compiler or could "lxn/walk" only work 
> on Windows?
>
> lxn/walk use lxn/win, which wraps windows api,so you can not use it under 
> linux
>
>
> 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 <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/437a3c1c-17aa-4d41-9560-3cabde2aa16f%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/437a3c1c-17aa-4d41-9560-3cabde2aa16f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/48546df6-d2c0-40c6-b3f1-5033cbbb6ace%40googlegroups.com.

Reply via email to