~eliasnaur/gio

Gio cross-compilation for linux, build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files

Morrison Edono
Details
Message ID
<2030A84C-02CE-4BEC-AC2C-F9B5F4591D9A@gmail.com>
DKIM signature
pass
Download raw message
Hello, 

So I am having issues cross compiling for linux and other platforms as I get the above error.

Following the comment on https://lists.sr.ht/~eliasnaur/gio/%3C1591186246741.35915%40wil.waw.pl%3E, you recommended that CGO_ENABLED be set to 1, I have done that and this does not seem to resolve this issue for me.

Is there something I am missing?

<<< Error log >>>

GOOS=linux GOARCH=amd64 go build -o godcr-linux-amd64 
build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files
GOOS=linux GOARCH=386 go build -o godcr-linux-386 
build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files
GOOS=linux GOARCH=ppc64 go build -o godcr-linux-ppc64 
build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files
GOOS=linux GOARCH=ppc64le go build -o godcr-linux-ppc64le 
build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files
GOOS=linux GOARCH=mips64 go build -o godcr-linux-mips64 
build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files
GOOS=linux GOARCH=mips64le go build -o godcr-linux-mips64le 
build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files
GOOS=freebsd GOARCH=amd64 go build -o godcr-freebsd-amd64 
build gioui.org/app/internal/glimpl: cannot load gioui.org/app/internal/glimpl: no Go source files
Export thread (mbox)