You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
os:Win10 Professional Edition
go version: go1.19.1 windows/amd64
I plan to package the fyne code under Windows as a Linux version, but there is a compilation error. Related operations:
1、SET CGO_ENABLED=1
2、SET GOOS=linux
3、go build main/build_job.go
Error logs:
runtime/cgo
gcc_linux_amd64.c: In function '_cgo_sys_thread_start':
gcc_linux_amd64.c:63:2: error: unknown type name 'sigset_t'; did you mean '_sigset_t'?
sigset_t ign, oset;
^~~~~~~~
_sigset_t
gcc_linux_amd64.c:68:2: error: implicit declaration of function 'sigfillset' [-Werror=implicit-function-declaration]
sigfillset(&ign);
^~~~~~~~~~
gcc_linux_amd64.c:63:16: error: unused variable 'oset' [-Werror=unused-variable]
sigset_t ign, oset;
^~~~
cc1.exe: all warnings being treated as errors
I want to know how fyne implements cross compilation on Windows machines
The text was updated successfully, but these errors were encountered:
os:Win10 Professional Edition
go version: go1.19.1 windows/amd64
I plan to package the fyne code under Windows as a Linux version, but there is a compilation error. Related operations:
1、SET CGO_ENABLED=1
2、SET GOOS=linux
3、go build main/build_job.go
Error logs:
runtime/cgo
gcc_linux_amd64.c: In function '_cgo_sys_thread_start':
gcc_linux_amd64.c:63:2: error: unknown type name 'sigset_t'; did you mean '_sigset_t'?
sigset_t ign, oset;
^~~~~~~~
_sigset_t
gcc_linux_amd64.c:68:2: error: implicit declaration of function 'sigfillset' [-Werror=implicit-function-declaration]
sigfillset(&ign);
^~~~~~~~~~
gcc_linux_amd64.c:63:16: error: unused variable 'oset' [-Werror=unused-variable]
sigset_t ign, oset;
^~~~
cc1.exe: all warnings being treated as errors
I want to know how fyne implements cross compilation on Windows machines
The text was updated successfully, but these errors were encountered: